/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 | 105 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom() 190 op_iterator op_begin() { return getOperandList(); } in op_begin() function 191 const_op_iterator op_begin() const { return getOperandList(); } in op_begin() function 199 return op_range(op_begin(), op_end()); in operands() 202 return const_op_range(op_begin(), op_end()); in operands() 217 return value_op_iterator(op_begin()); in value_op_begin()
|
D | Metadata.h | 932 op_iterator op_begin() const { 938 op_range operands() const { return op_range(op_begin(), op_end()); } 942 return op_begin()[I]; 997 SmallVector<Metadata *, 4>(op_begin(), op_end())); 1118 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); } 1208 op_iterator op_begin() { return op_iterator(this, 0); } 1212 const_op_iterator op_begin() const { return const_op_iterator(this, 0); } 1216 return make_range(op_begin(), op_end()); 1219 return make_range(op_begin(), op_end());
|
D | GetElementPtrTypeIterator.h | 109 GEP->op_begin() + 1); in gep_type_begin() 120 GEP.op_begin() + 1); in gep_type_begin()
|
D | InstrTypes.h | 1163 op_range arg_operands() { return op_range(op_begin(), op_end() - 1); } 1167 return const_op_range(op_begin(), op_end() - 1); 1525 auto op_begin = static_cast<const InstrTy *>(this)->op_begin(); 1526 ArrayRef<Use> Inputs(op_begin + BOI.Begin, op_begin + BOI.End); 1587 auto It = static_cast<InstrTy *>(this)->op_begin() + BeginIndex;
|
D | Operator.h | 383 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin() 384 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
|
D | Instructions.h | 964 inline op_iterator idx_begin() { return op_begin()+1; } 965 inline const_op_iterator idx_begin() const { return op_begin()+1; } 1552 op_iterator arg_begin() { return op_begin(); } 1566 const_op_iterator arg_begin() const { return op_begin(); } 2407 OperandTraits<InsertValueInst>::op_begin(this), 2417 OperandTraits<InsertValueInst>::op_begin(this), 2497 reinterpret_cast<Use::UserRef*>(op_begin() + ReservedSpace); 2503 reinterpret_cast<const Use::UserRef*>(op_begin() + ReservedSpace); 2552 return getIncomingBlock(unsigned(&U - op_begin())); 3477 op_iterator arg_begin() { return op_begin(); } [all …]
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 96 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode() 111 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue() 248 std::copy(Args.begin(), Args.end(), op_begin()); in init() 296 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst() 567 std::copy(Args.begin(), Args.end(), op_begin()); in init() 583 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst() 740 OperandTraits<ResumeInst>::op_begin(this), 1) { in ResumeInst() 746 OperandTraits<ResumeInst>::op_begin(this), 1, InsertBefore) { in ResumeInst() 752 OperandTraits<ResumeInst>::op_begin(this), 1, InsertAtEnd) { in ResumeInst() 832 OperandTraits<CatchReturnInst>::op_begin(this), 2) { in CatchReturnInst() [all …]
|
D | TypeFinder.cpp | 66 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run() 148 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
|
D | LLVMContextImpl.cpp | 206 unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end()); in calculateHash() 209 SmallVector<Metadata *, 8> MDs(N->op_begin() + Offset, N->op_end()); in calculateHash()
|
D | Metadata.cpp | 456 NumUnresolved = std::count_if(op_begin(), op_end(), isOperandUnresolved); in countUnresolvedOperands() 601 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand() 802 MDs.append(A->op_begin(), A->op_end()); in concatenate() 803 MDs.append(B->op_begin(), B->op_end()); in concatenate() 816 if (std::find(B->op_begin(), B->op_end(), MD) != B->op_end()) in intersect() 828 SmallVector<Metadata *, 4> MDs(B->op_begin(), B->op_end()); in getMostGenericAliasScope() 830 if (std::find(B->op_begin(), B->op_end(), MD) == B->op_end()) in getMostGenericAliasScope()
|
D | Globals.cpp | 146 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable() 164 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
|
D | Use.cpp | 49 return this - getUser()->op_begin(); in getOperandNo()
|
D | Instruction.cpp | 352 if (!std::equal(op_begin(), op_end(), I->op_begin())) in isIdenticalToWhenDefined()
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 74 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) { in parseGlobalCtors() 97 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()
|
D | LoopUtils.cpp | 31 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E; ++Use) in areAllUsesIn() 301 if (std::find(Phi->op_begin(), Phi->op_end(), Cur) == Phi->op_end()) in AddReductionVar() 456 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E; in hasMultipleUsesOf()
|
/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/Analysis/ |
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 | ScalarEvolutionExpander.cpp | 271 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant() 318 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands() 346 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs() 387 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument 395 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP() 679 E(S->op_begin()); I != E; ++I) in visitAddExpr() 747 E(S->op_begin()); I != E; ++I) in visitMulExpr() 816 SmallVector<const SCEV *, 8> NewAddOps(A->op_begin(), A->op_end()); in ExposePointerBase() 834 for (User::op_iterator OI = IncV->op_begin()+1, in isNormalAddRecExprPHI() 883 for (auto I = IncV->op_begin() + 1, E = IncV->op_end(); I != E; ++I) { in getIVIncOperand() [all …]
|
D | IVUsers.cpp | 73 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting() 348 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
|
D | ScalarEvolution.cpp | 189 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print() 1895 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales() 1900 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales() 2116 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr() 2185 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr() 2186 Mul->op_begin()+MulOp); in getAddExpr() 2187 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr() 2218 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr() 2219 Mul->op_begin()+MulOp); in getAddExpr() 2220 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr() [all …]
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 278 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 1; in getNoopInput() 280 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput() 289 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 3; in getNoopInput() 291 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 157 op_iterator op_begin() const { return Operands; } in op_begin() function 160 return make_range(op_begin(), op_end()); in operands() 308 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, in getStepRecurrence() 529 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), in visitAll()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 152 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()
|