/external/llvm/include/llvm/IR/ |
D | OperandTraits.h | 32 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 …]
|
D | User.h | 81 : 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()
|
D | Metadata.h | 284 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());
|
D | GetElementPtrTypeIterator.h | 87 (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()
|
D | Operator.h | 381 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/ |
D | FindUsedTypes.cpp | 49 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/ |
D | Instructions.cpp | 91 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 …]
|
D | TypeFinder.cpp | 66 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()
|
D | Globals.cpp | 136 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable() 156 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
|
D | Use.cpp | 49 return this - getUser()->op_begin(); in getOperandNo()
|
/external/llvm/lib/Analysis/ |
D | AliasDebugger.cpp | 52 for (User::const_op_iterator OI = I->op_begin(), in runOnModule() 69 for (User::const_op_iterator OI = BI->op_begin(), in runOnModule()
|
D | ScalarEvolutionExpander.cpp | 258 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 …]
|
D | ScalarEvolutionNormalization.cpp | 114 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()
|
D | IVUsers.cpp | 69 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()
|
D | ScalarEvolution.cpp | 194 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/ |
D | CtorUtils.cpp | 91 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()
|
D | LowerInvoke.cpp | 58 SmallVector<Value*,16> CallArgs(II->op_begin(), II->op_end() - 3); in runOnFunction()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 35 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/ |
D | Analysis.cpp | 265 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/ |
D | GlobalDCE.cpp | 229 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/ |
D | ADCE.cpp | 73 for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end(); in runOnFunction()
|
D | DCE.cpp | 119 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 156 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/ |
D | ObjCARCAPElim.cpp | 155 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 335 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()
|