Home
last modified time | relevance | path

Searched refs:op_begin (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm/include/llvm/
DOperandTraits.h32 static Use *op_begin(SubClass* U) { in op_begin() function
67 static Use *op_begin(SubClass* U) { in op_begin() function
94 static Use *op_begin(User* U) { in op_begin() function
112 inline op_iterator op_begin(); \
113 inline const_op_iterator op_begin() const; \
124 CLASS::op_iterator CLASS::op_begin() { \
125 return OperandTraits<CLASS>::op_begin(this); \
127 CLASS::const_op_iterator CLASS::op_begin() const { \
128 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
140 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
[all …]
DUser.h79 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
116 inline op_iterator op_begin() { return OperandList; } in op_begin() function
117 inline const_op_iterator op_begin() const { return OperandList; } in op_begin() function
130 for (op_iterator i = op_begin(), e = op_end(); i != e; ++i) in dropAllReferences()
172 return U - U->getUser()->op_begin();
DOperator.h270 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
271 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
/external/llvm/unittests/VMCore/
DInstructionsTest.cpp32 EXPECT_EQ(r0->op_begin(), r0->op_end()); in TEST()
38 User::const_op_iterator b(r1->op_begin()); in TEST()
67 EXPECT_NE(b0->op_begin(), b0->op_end()); in TEST()
68 EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin())); in TEST()
70 EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin())); in TEST()
85 User::const_op_iterator b(b1->op_begin()); in TEST()
/external/llvm/lib/VMCore/
DInstructions.cpp90 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
121 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
146 Use *OldOps = op_begin(); in growOperands()
152 std::copy(OldOps, OldOps + e, op_begin()); in growOperands()
277 std::copy(Args.begin(), Args.end(), op_begin()); in init()
323 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
534 std::copy(Args.begin(), Args.end(), op_begin()); in init()
545 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
639 OperandTraits<ResumeInst>::op_begin(this), 1) { in ResumeInst()
645 OperandTraits<ResumeInst>::op_begin(this), 1, InsertBefore) { in ResumeInst()
[all …]
DGlobals.cpp88 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
107 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
DValue.cpp115 if (std::find(I->op_begin(), I->op_end(), this) != I->op_end()) in isUsedInBasicBlock()
419 for (User::const_op_iterator I = GEP->op_begin()+1, in isDereferenceablePointer()
DModule.cpp520 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run()
574 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
/external/llvm/include/llvm/Support/
DDataFlow.h70 return U->op_begin();
91 return U->op_begin();
DGetElementPtrTypeIterator.h87 GEP->op_begin()+1); in gep_type_begin()
94 GEP.op_begin()+1); in gep_type_begin()
/external/llvm/lib/Analysis/IPA/
DFindUsedTypes.cpp50 for (User::const_op_iterator OI = C->op_begin(), OE = C->op_end(); in IncorporateValue()
82 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in runOnModule()
/external/llvm/lib/Analysis/
DAliasDebugger.cpp52 for (User::const_op_iterator OI = I->op_begin(), in runOnModule()
69 for (User::const_op_iterator OI = BI->op_begin(), in runOnModule()
DScalarEvolutionExpander.cpp262 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
277 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
326 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands()
355 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs()
396 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument
403 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP()
656 for (SCEVNAryExpr::op_iterator I = N->op_begin(), E = N->op_end(); in getRelevantLoop()
719 E(S->op_begin()); I != E; ++I) in visitAddExpr()
788 E(S->op_begin()); I != E; ++I) in visitMulExpr()
854 SmallVector<const SCEV *, 8> NewAddOps(A->op_begin(), A->op_end()); in ExposePointerBase()
[all …]
DScalarEvolutionNormalization.cpp114 for (SCEVNAryExpr::op_iterator I = AR->op_begin(), E = AR->op_end(); in TransformImpl()
163 for (SCEVNAryExpr::op_iterator I = X->op_begin(), E = X->op_end(); in TransformImpl()
DScalarEvolution.cpp186 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print()
1099 for (SCEVAddExpr::op_iterator I = SA->op_begin(), E = SA->op_end(); in getPreStartForSignExtend()
1342 for (SCEVAddRecExpr::op_iterator I = AR->op_begin(), E = AR->op_end(); in getAnyExtendExpr()
1419 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales()
1424 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1609 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr()
1674 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1675 Mul->op_begin()+MulOp); in getAddExpr()
1676 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
1707 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
[all …]
DIVUsers.cpp68 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
301 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
DLoads.cpp65 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end()); in getUnderlyingObjectWithOffset()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp182 for (User::op_iterator U = I->op_begin(), E = I->op_end(); U != E; ++U) in GlobalIsNeeded()
196 for (User::op_iterator I = C->op_begin(), E = C->op_end(); I != E; ++I) in MarkUsedGlobalsAsNeeded()
DPruneEH.cpp176 SmallVector<Value*, 8> Args(II->op_begin(), II->op_end() - 3); in SimplifyFunction()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp79 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in ValueEnumerator()
333 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); in EnumerateValue()
446 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
469 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp69 for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end(); in runOnFunction()
DDCE.cpp109 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
DLoopStrengthReduce.cpp273 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in DoInitialMatch()
294 SmallVector<const SCEV *, 4> Ops(Mul->op_begin()+1, Mul->op_end()); in DoInitialMatch()
504 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in getExactSDiv()
521 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
551 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate()
557 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate()
578 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol()
584 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol()
693 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()
746 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in DeleteTriviallyDeadInstructions()
[all …]
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h158 op_iterator op_begin() const { return Operands; } in op_begin() function
311 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, in getStepRecurrence()
DScalarEvolutionExpander.h206 Value *expandAddToGEP(const SCEV *const *op_begin,

123