Home
last modified time | relevance | path

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

12345

/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.h105 : 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()
DMetadata.h932 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());
DGetElementPtrTypeIterator.h109 GEP->op_begin() + 1); in gep_type_begin()
120 GEP.op_begin() + 1); in gep_type_begin()
DInstrTypes.h1163 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;
DOperator.h383 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()
DInstructions.h964 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/
DInstructions.cpp96 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 …]
DTypeFinder.cpp66 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()
DLLVMContextImpl.cpp206 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()
DMetadata.cpp456 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()
DGlobals.cpp146 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
164 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
DUse.cpp49 return this - getUser()->op_begin(); in getOperandNo()
DInstruction.cpp352 if (!std::equal(op_begin(), op_end(), I->op_begin())) in isIdenticalToWhenDefined()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp74 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()
DLowerInvoke.cpp58 SmallVector<Value*,16> CallArgs(II->op_begin(), II->op_end() - 3); in runOnFunction()
DLoopUtils.cpp31 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/
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/Analysis/
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()
DScalarEvolutionExpander.cpp271 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 …]
DIVUsers.cpp73 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()
DScalarEvolution.cpp189 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/
DAnalysis.cpp278 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/
DScalarEvolutionExpressions.h157 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/
DObjCARCAPElim.cpp152 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()

12345