OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TripCount
(Results
1 - 11
of
11
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
UnrollLoop.h
70
unsigned
TripCount
;
96
LoopUnrollResult UnrollAndJamLoop(Loop *L, unsigned Count, unsigned
TripCount
,
110
OptimizationRemarkEmitter *ORE, unsigned &
TripCount
,
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
HardwareLoops.cpp
190
TripCount
(Info.
TripCount
),
205
const SCEV *
TripCount
= nullptr;
299
(HWLoopInfo.ExitBlock && HWLoopInfo.ExitBranch && HWLoopInfo.
TripCount
) &&
389
if (SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE,
TripCount
,
390
SE.getZero(
TripCount
->getType()))) {
402
if (!isSafeToExpandAt(
TripCount
, Predecessor->getTerminator(), SE))
408
if (!isSafeToExpandAt(
TripCount
, BB->getTerminator(), SE)) {
409
LLVM_DEBUG(dbgs() << "- Bailing, unsafe to expand
TripCount
"
410
<< *
TripCount
<< "\n")
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp
557
/// extraiters =
tripcount
% loopfactor
563
/// if (
tripcount
< loopfactor) jump End:
569
/// extraiters =
tripcount
% loopfactor
570
/// if (
tripcount
< loopfactor) jump LoopExit:
571
/// unroll_iters =
tripcount
- extraiters
749
Value *
TripCount
= Expander.expandCodeFor(TripCountSC, TripCountSC->getType(),
756
// Note that
TripCount
is BECount + 1.
760
ModVal = B.CreateAnd(
TripCount
, Count - 1, "xtraiter");
763
// 2. The addition computing
TripCount
overflowed.
765
// If (2) is true, we know that
TripCount
really is (1 << BEWidth) and s
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopRerollPass.cpp
1485
auto
TripCount
= SE->getAddExpr(BackedgeTakenCount, One);
1487
TripCount
, SE->getConstant(BackedgeTakenCount->getType(), Scale));
LoopUnrollPass.cpp
150
"flat-loop-
tripcount
-threshold", cl::init(5), cl::Hidden,
151
cl::desc("If the runtime
tripcount
for the loop is lower than the "
337
const Loop *L, unsigned
TripCount
, DominatorTree &DT, ScalarEvolution &SE,
353
// Don't simulate loops with a big or unknown
tripcount
354
if (!
TripCount
||
TripCount
> MaxIterationsCountToAnalyze)
483
for (unsigned Iteration = 0; Iteration <
TripCount
; ++Iteration) {
638
AddCostRecursively(*OpI,
TripCount
- 1);
765
OptimizationRemarkEmitter *ORE, unsigned &
TripCount
, unsigned MaxTripCount,
795
if (PragmaFullUnroll &&
TripCount
!= 0)
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp
845
Value *
TripCount
= nullptr;
847
/// Trip count of the widened loop (
TripCount
-
TripCount
% (VF*UF))
914
Value *
TripCount
= nullptr;
3094
if (
TripCount
)
3095
return
TripCount
;
3129
TripCount
= Exp.expandCodeFor(ExitCount, ExitCount->getType(),
3132
if (
TripCount
->getType()->isPointerTy())
3133
TripCount
=
3134
CastInst::CreatePointerCast(
TripCount
, IdxTy, "exitcount.ptrcnt.to.int"
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfo.h
100
const SCEV *
TripCount
= nullptr;
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonHardwareLoops.cpp
1205
CountValue *
TripCount
= getLoopTripCount(L, OldInsts);
1206
if (!
TripCount
)
1210
if (
TripCount
->isReg()) {
1213
MachineInstr *TCDef = MRI->getVRegDef(
TripCount
->getReg());
1246
if (
TripCount
->isReg()) {
1250
.addReg(
TripCount
->getReg(), 0,
TripCount
->getSubReg());
1255
assert(
TripCount
->isImm() && "Expecting immediate value for trip count");
1259
int64_t CountImm =
TripCount
->getImm();
1301
delete
TripCount
;
[
all
...]
HexagonInstrInfo.cpp
688
int64_t
TripCount
;
699
TripCount
= Loop->getOpcode() == Hexagon::J2_loop0r
702
if (
TripCount
== -1)
714
if (
TripCount
== -1) {
726
return
TripCount
> TC;
739
int64_t
TripCount
= Loop->getOperand(1).getImm() + TripCountAdjust;
740
assert(
TripCount
> 0 && "Can't create an empty or negative loop!");
741
Loop->getOperand(1).setImm(
TripCount
);
/src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
OMPIRBuilder.cpp
1061
DebugLoc DL, Value *
TripCount
, Function *F, BasicBlock *PreInsertBefore,
1065
Type *IndVarTy =
TripCount
->getType();
1096
Builder.CreateICmpULT(IndVarPHI,
TripCount
, "omp_" + Name + ".cmp");
1134
Value *
TripCount
, const Twine &Name) {
1138
CanonicalLoopInfo *CL = createLoopSkeleton(Loc.DL,
TripCount
, BB->getParent(),
1222
Value *
TripCount
= Builder.CreateSelect(ZeroCmp, Zero, CountIfLooping,
1223
"omp_" + Name + ".
tripcount
");
1232
return createCanonicalLoop(LoopLoc, BodyGen,
TripCount
, Name);
1254
void setCanonicalLoopTripCount(CanonicalLoopInfo *CLI, Value *
TripCount
) {
1256
assert(isa<CmpInst>(CmpI) && "First inst must compare IV with
TripCount
");
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp
7082
SDValue
TripCount
= getValue(I.getOperand(1));
7091
OpsTripCount.push_back(
TripCount
);
Completed in 38 milliseconds
Indexes created Thu Aug 06 00:25:04 UTC 2026