Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/IR/
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.h81 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
120 inline op_iterator op_begin() { return OperandList; } in op_begin() function
121 inline const_op_iterator op_begin() const { return OperandList; } in op_begin() function
125 return op_range(op_begin(), op_end()); in operands()
128 return const_op_range(op_begin(), op_end()); in operands()
144 return value_op_iterator(op_begin()); in value_op_begin()
DMetadata.h284 op_iterator op_begin() { return op_iterator(this, 0); }
288 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
292 return iterator_range<op_iterator>(op_begin(), op_end());
295 return iterator_range<const_op_iterator>(op_begin(), op_end());
DGetElementPtrTypeIterator.h87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1); in gep_type_begin()
94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1); in gep_type_begin()
DOperator.h381 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
382 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
/external/llvm/lib/Analysis/IPA/
DFindUsedTypes.cpp49 for (User::const_op_iterator OI = C->op_begin(), OE = C->op_end(); in IncorporateValue()
81 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in runOnModule()
/external/llvm/lib/IR/
DInstructions.cpp91 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
122 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
147 Use *OldOps = op_begin(); in growOperands()
153 std::copy(OldOps, OldOps + e, op_begin()); in growOperands()
284 std::copy(Args.begin(), Args.end(), op_begin()); in init()
330 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
552 std::copy(Args.begin(), Args.end(), op_begin()); in init()
563 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
667 OperandTraits<ResumeInst>::op_begin(this), 1) { in ResumeInst()
673 OperandTraits<ResumeInst>::op_begin(this), 1, InsertBefore) { in ResumeInst()
[all …]
DTypeFinder.cpp66 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run()
143 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
DGlobals.cpp136 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
156 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
DUse.cpp49 return this - getUser()->op_begin(); in getOperandNo()
/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.cpp258 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
273 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
322 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands()
350 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs()
391 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument
398 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP()
648 for (SCEVNAryExpr::op_iterator I = N->op_begin(), E = N->op_end(); in getRelevantLoop()
711 E(S->op_begin()); I != E; ++I) in visitAddExpr()
780 E(S->op_begin()); I != E; ++I) in visitMulExpr()
845 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()
194 for (SCEVNAryExpr::op_iterator I = X->op_begin(), E = X->op_end(); in TransformImpl()
DIVUsers.cpp69 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
332 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
DScalarEvolution.cpp194 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print()
1445 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales()
1450 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1635 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr()
1700 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1701 Mul->op_begin()+MulOp); in getAddExpr()
1702 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
1733 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1734 Mul->op_begin()+MulOp); in getAddExpr()
1735 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
[all …]
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp91 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) { in parseGlobalCtors()
114 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) { in findGlobalCtors()
DLowerInvoke.cpp58 SmallVector<Value*,16> CallArgs(II->op_begin(), II->op_end() - 3); in runOnFunction()
/external/llvm/unittests/IR/
DInstructionsTest.cpp35 EXPECT_EQ(r0->op_begin(), r0->op_end()); in TEST()
41 User::const_op_iterator b(r1->op_begin()); in TEST()
122 EXPECT_NE(b0->op_begin(), b0->op_end()); in TEST()
123 EXPECT_EQ(b0->op_end(), std::next(b0->op_begin())); in TEST()
125 EXPECT_EQ(b0->op_end(), std::next(b0->op_begin())); in TEST()
140 User::const_op_iterator b(b1->op_begin()); in TEST()
/external/llvm/lib/CodeGen/
DAnalysis.cpp265 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 1; in getNoopInput()
267 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput()
276 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 3; in getNoopInput()
278 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp229 for (User::op_iterator U = I->op_begin(), E = I->op_end(); U != E; ++U) in GlobalIsNeeded()
243 for (User::op_iterator I = C->op_begin(), E = C->op_end(); I != E; ++I) { in MarkUsedGlobalsAsNeeded()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp73 for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end(); in runOnFunction()
DDCE.cpp119 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h156 op_iterator op_begin() const { return Operands; } in op_begin() function
159 return make_range(op_begin(), op_end()); in operands()
307 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, in getStepRecurrence()
606 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), in visitAll()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp155 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp335 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); in EnumerateValue()
459 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
482 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()

1234