HomeSort by: relevance | last modified time | path
    Searched defs:IV (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
MatrixUtils.cpp 38 PHINode *IV =
39 PHINode::Create(I32Ty, 2, Name + ".iv", Header->getTerminator());
40 IV->addIncoming(ConstantInt::get(I32Ty, 0), Preheader);
43 Value *Inc = B.CreateAdd(IV, Step, Name + ".step");
46 IV->addIncoming(Inc, Latch);
LoopSimplify.cpp 417 Value *IV = PN->getIncomingValue(i);
421 NewPN->addIncoming(IV, IBB);
424 UniqueValue = IV;
425 else if (UniqueValue != IV)
SCCPSolver.cpp 132 ConstantInt *getConstantInt(const ValueLatticeElement &IV) const {
133 return dyn_cast_or_null<ConstantInt>(getConstant(IV));
137 void pushToWorkList(ValueLatticeElement &IV, Value *V);
139 // Helper to push \p V to the worklist, after updating it to \p IV. Also
141 void pushToWorkListMsg(ValueLatticeElement &IV, Value *V);
146 bool markConstant(ValueLatticeElement &IV, Value *V, Constant *C,
157 bool markOverdefined(ValueLatticeElement &IV, Value *V);
159 /// Merge \p MergeWithV into \p IV and push \p V to the worklist, if \p IV
161 bool mergeInValue(ValueLatticeElement &IV, Value *V
    [all...]
SimplifyIndVar.cpp 35 STATISTIC(NumElimIdentity, "Number of IV identities eliminated");
36 STATISTIC(NumElimOperand, "Number of IV operands folded into a use");
37 STATISTIC(NumFoldedUser, "Number of IV users folded into a constant");
38 STATISTIC(NumElimRem , "Number of IV remainder operations eliminated");
41 "Number of IV signed division operations converted to unsigned division");
44 "Number of IV signed remainder operations converted to unsigned remainder");
45 STATISTIC(NumElimCmp , "Number of IV comparisons eliminated");
70 assert(LI && "IV simplification requires LoopInfo");
77 /// all simplifications to users of an IV.
120 /// Fold an IV operand into its use. This removes increments of a
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
MSP430AsmPrinter.cpp 166 MCSection *IV = OutStreamer->getContext().getELFSection(
169 OutStreamer->SwitchSection(IV);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp 84 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex);
86 << " ivar '" << IV->getDecl()->getName() << "')";
87 SourceLocation L = IV->getLocation();
185 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S);
186 os << "Access to instance variable '" << *IV->getDecl() << "'" << DerefStr2;
187 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(),
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVETailPredication.cpp 186 // @llvm.get.active.lane.mask(IV, TC)
199 // 3) The IV must be an induction phi with an increment equal to the
309 // 3) Find out if IV is an induction phi. Note that we can't use Loop
314 auto *IV = ActiveLaneMask->getOperand(0);
315 auto *IVExpr = SE->getSCEV(IV);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SCCP.cpp 120 const ValueLatticeElement &IV = Solver.getLatticeValueFor(V);
121 if (isOverdefined(IV))
125 isConstant(IV) ? Solver.getConstant(IV) : UndefValue::get(V->getType());
172 const ValueLatticeElement &IV = Solver.getLatticeValueFor(ExtOp);
173 if (!IV.isConstantRange(/*UndefAllowed=*/false))
175 if (IV.getConstantRange().isAllNonNegative()) {
LoopPredication.cpp 210 static cl::opt<bool> EnableIVTruncation("loop-predication-enable-iv-truncation",
240 const SCEVAddRecExpr *IV;
242 LoopICmp(ICmpInst::Predicate Pred, const SCEVAddRecExpr *IV,
244 : Pred(Pred), IV(IV), Limit(Limit) {}
247 dbgs() << "LoopICmp Pred = " << Pred << ", IV = " << *IV
386 // Canonicalize RHS to be loop invariant bound, LHS - a loop computable IV
423 // Returns true if its safe to truncate the IV to RangeCheckType.
424 // When the IV type is wider than the range operand type, we can still do loo
    [all...]
LoopRerollPass.cpp 104 // %iv = phi [ (preheader, ...), (body, %iv.next) ]
105 // f(%iv)
106 // %iv.1 = add %iv, 1 <-- a root increment
107 // f(%iv.1)
108 // %iv.2 = add %iv, 2 <-- a root increment
109 // f(%iv.2)
110 // %iv.scale_m_1 = add %iv, scale-1 <-- a root incremen
    [all...]
GVN.cpp 739 std::pair<DenseMap<BasicBlock *, AvailabilityState>::iterator, bool> IV =
742 AvailabilityState &State = IV.first->second;
745 if (!IV.second) {
IndVarSimplify.cpp 98 STATISTIC(NumElimExt , "Number of IV sign/zero extends eliminated");
223 // Check IV increment. Reject this PN if increment operation is not
256 // of the loop. If not, the new IV can overflow and no one will notice.
322 // exactly land on the exit value, otherwise the IV condition will wrap
323 // around and do things the fp IV wouldn't.
329 // transform the IV.
348 // exactly land on the exit value, otherwise the IV condition will wrap
349 // around and do things the fp IV wouldn't.
355 // transform the IV.
392 // variable, we chose to eliminate the IV and rewrite it in terms of a
    [all...]
JumpThreading.cpp 1963 Value *IV = PN.getIncomingValueForBlock(OldPred);
1966 if (Instruction *Inst = dyn_cast<Instruction>(IV)) {
1969 IV = I->second;
1972 PN.addIncoming(IV, NewPred);
2682 if (Value *IV = SimplifyInstruction(
2685 ValueMapping[&*BI] = IV;
LoopIdiomRecognize.cpp 1911 // Step 2: Insert new IV and loop condition:
2236 /// %loop.iv = phi i32 [ 0, %entry ], [ %loop.iv.next, %loop ]
2237 /// %loop.iv.next = add nuw i32 %loop.iv, 1
2238 /// %loop.ivcheck = icmp eq i32 %loop.iv.next, %tripcount
2366 // Step 4: Rewrite the loop into a countable form, with canonical IV.
2370 auto *IV = Builder.CreatePHI(Ty, 2, CurLoop->getName() + ".iv");
2376 Builder.CreateAdd(IV, ConstantInt::get(Ty, 1), IV->getName() + ".next"
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExprEngineC.cpp 868 APSInt IV = Result.Val.getInt();
869 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
871 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType());
872 SVal X = svalBuilder.makeIntVal(IV);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIMemoryLegalizer.cpp 268 IsaVersion IV;
759 IV = getIsaVersion(ST.getCPU());
968 AMDGPU::encodeWaitcnt(IV,
969 VMCnt ? 0 : getVmcntBitMask(IV),
970 getExpcntBitMask(IV),
971 LGKMCnt ? 0 : getLgkmcntBitMask(IV));
1490 AMDGPU::encodeWaitcnt(IV,
1491 VMCnt ? 0 : getVmcntBitMask(IV),
1492 getExpcntBitMask(IV),
1493 LGKMCnt ? 0 : getLgkmcntBitMask(IV));
    [all...]
GCNHazardRecognizer.cpp 973 const AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(ST.getCPU());
992 auto IsExpiredFn = [TII, IV](const MachineInstr &MI, int) {
1008 AMDGPU::Waitcnt Decoded = AMDGPU::decodeWaitcnt(IV, Imm);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorizationLegality.cpp 278 // 1) it has a canonical IV (starting from 0 and with stride 1),
281 // canonical IV and an OuterLp invariant.
305 PHINode *IV = Lp->getCanonicalInductionVariable();
306 if (!IV) {
307 LLVM_DEBUG(dbgs() << "LV: Canonical IV not found.\n");
329 Value *IVUpdate = IV->getIncomingValueForBlock(Latch);
517 // Int inductions are special because we only allow one IV.
VPlan.cpp 591 Value *IV = State.get(getOperand(0), Part);
593 Value *V = Builder.CreateICmpULE(IV, TC);
1006 O << " +\n" << Indent << "\" " << VPlanIngredient(IV) << "\\l\"";
1010 O << " " << VPlanIngredient(IV);
1139 Value *CanonicalVectorIV = Builder.CreateAdd(VStart, VStep, "vec.iv");
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExprMember.cpp 1345 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared);
1347 if (!IV) {
1354 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>();
1363 Decl *D = cast<Decl>(IV->getDeclContext());
1395 if (IV->isInvalidDecl())
1399 if (S.DiagnoseUseOfDecl(IV, MemberLoc))
1401 if (IV->getAccessControl() != ObjCIvarDecl::Public &&
1402 IV->getAccessControl() != ObjCIvarDecl::Package) {
1421 if (IV->getAccessControl() == ObjCIvarDecl::Private) {
1425 << IV->getDeclName()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemorySSAUpdater.cpp 651 MemoryAccess *IV = MPhi->getIncomingValue(I);
653 NewMPhi->addIncoming(IV, IBB);
656 UniqueValue = IV;
657 else if (UniqueValue != IV)
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
WinEHPrepare.cpp 892 Value *IV = SuccPN.getIncomingValue(OldBlockIdx);
895 if (auto *Inst = dyn_cast<Instruction>(IV)) {
898 IV = I->second;
901 SuccPN.addIncoming(IV, NewBlock);
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86LowerAMXIntrinsics.cpp 118 PHINode *IV =
119 PHINode::Create(I16Ty, 2, Name + ".iv", Header->getTerminator());
120 IV->addIncoming(ConstantInt::get(I16Ty, 0), Preheader);
123 Value *Inc = B.CreateAdd(IV, Step, Name + ".step");
126 IV->addIncoming(Inc, Latch);
224 // %mul = mul i16 %row.iv, i16 16
225 // %idx = add i16 %mul, i16 %col.iv
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 956 std::pair<decltype(SourceAggregates)::iterator, bool> IV =
959 if (!IV.second)
968 IV.first->second = *SourceAggregate;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 1268 PHINode *IV = Builder.CreatePHI(Builder.getInt32Ty(), /*NumReservedValues*/ 2,
1270 IV->addIncoming(Builder.getInt32(0), BB);
1272 FileInfoArrayTy, FileInfoArrayGV, {Builder.getInt32(0), IV});
1352 auto *NextIV = Builder.CreateAdd(IV, Builder.getInt32(1), "next_file_idx");
1356 IV->addIncoming(NextIV, FileLoopLatch);

Completed in 79 milliseconds

1 2