Home
last modified time | relevance | path

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

12345

/NextBSD/contrib/llvm/include/llvm/IR/
HDOperandTraits.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 …]
HDUser.h91 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
183 op_iterator op_begin() { return getOperandList(); } in op_begin() function
184 const_op_iterator op_begin() const { return getOperandList(); } in op_begin() function
192 return op_range(op_begin(), op_end()); in operands()
195 return const_op_range(op_begin(), op_end()); in operands()
210 return value_op_iterator(op_begin()); in value_op_begin()
HDMetadata.h928 op_iterator op_begin() const {
934 op_range operands() const { return op_range(op_begin(), op_end()); }
938 return op_begin()[I];
991 SmallVector<Metadata *, 4>(op_begin(), op_end()));
1112 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); }
1203 op_iterator op_begin() { return op_iterator(this, 0); }
1207 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
1211 return iterator_range<op_iterator>(op_begin(), op_end());
1214 return iterator_range<const_op_iterator>(op_begin(), op_end());
HDGetElementPtrTypeIterator.h109 GEP->op_begin() + 1); in gep_type_begin()
120 GEP.op_begin() + 1); in gep_type_begin()
HDOperator.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()
/NextBSD/contrib/llvm/lib/IR/
HDInstructions.cpp91 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
106 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
242 std::copy(Args.begin(), Args.end(), op_begin()); in init()
285 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
518 std::copy(Args.begin(), Args.end(), op_begin()); in init()
529 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
645 OperandTraits<ResumeInst>::op_begin(this), 1) { in ResumeInst()
651 OperandTraits<ResumeInst>::op_begin(this), 1, InsertBefore) { in ResumeInst()
657 OperandTraits<ResumeInst>::op_begin(this), 1, InsertAtEnd) { in ResumeInst()
1029 OperandTraits<StoreInst>::op_begin(this), in StoreInst()
[all …]
HDTypeFinder.cpp72 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run()
154 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
HDLLVMContextImpl.cpp205 unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end()); in calculateHash()
208 SmallVector<Metadata *, 8> MDs(N->op_begin() + Offset, N->op_end()); in calculateHash()
HDMetadata.cpp456 NumUnresolved = std::count_if(op_begin(), op_end(), isOperandUnresolved); in countUnresolvedOperands()
587 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand()
788 MDs.append(A->op_begin(), A->op_end()); in concatenate()
789 MDs.append(B->op_begin(), B->op_end()); in concatenate()
802 if (std::find(B->op_begin(), B->op_end(), MD) != B->op_end()) in intersect()
814 SmallVector<Metadata *, 4> MDs(B->op_begin(), B->op_end()); in getMostGenericAliasScope()
816 if (std::find(B->op_begin(), B->op_end(), MD) == B->op_end()) in getMostGenericAliasScope()
HDGlobals.cpp151 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
169 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
HDUse.cpp49 return this - getUser()->op_begin(); in getOperandNo()
HDInstruction.cpp340 if (!std::equal(op_begin(), op_end(), I->op_begin())) in isIdenticalToWhenDefined()
/NextBSD/contrib/llvm/lib/Analysis/
HDAliasDebugger.cpp52 for (User::const_op_iterator OI = I->op_begin(), in runOnModule()
69 for (User::const_op_iterator OI = BI->op_begin(), in runOnModule()
HDScalarEvolutionExpander.cpp258 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
306 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands()
334 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs()
375 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument
383 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP()
614 for (SCEVNAryExpr::op_iterator I = N->op_begin(), E = N->op_end(); in getRelevantLoop()
677 E(S->op_begin()); I != E; ++I) in visitAddExpr()
746 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()
[all …]
HDScalarEvolutionNormalization.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()
HDScalarEvolution.cpp198 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print()
1894 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales()
1899 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
2101 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr()
2166 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
2167 Mul->op_begin()+MulOp); in getAddExpr()
2168 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
2199 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
2200 Mul->op_begin()+MulOp); in getAddExpr()
2201 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
[all …]
HDIVUsers.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()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDCtorUtils.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()
HDLoopUtils.cpp31 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E; ++Use) in areAllUsesIn()
157 if (std::find(Phi->op_begin(), Phi->op_end(), Cur) == Phi->op_end()) in AddReductionVar()
304 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E; in hasMultipleUsesOf()
HDLowerInvoke.cpp58 SmallVector<Value*,16> CallArgs(II->op_begin(), II->op_end() - 3); in runOnFunction()
/NextBSD/contrib/llvm/lib/CodeGen/
HDAnalysis.cpp276 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 1; in getNoopInput()
278 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput()
287 for (User::const_op_iterator i = I->op_begin(), e = I->op_end() - 3; in getNoopInput()
289 unsigned attrInd = i - I->op_begin() + 1; in getNoopInput()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDGlobalDCE.cpp236 for (User::op_iterator U = I->op_begin(), E = I->op_end(); U != E; ++U) in GlobalIsNeeded()
250 for (User::op_iterator I = C->op_begin(), E = C->op_end(); I != E; ++I) { in MarkUsedGlobalsAsNeeded()
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDScalarEvolutionExpressions.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()
528 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), in visitAll()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDDCE.cpp121 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
/NextBSD/contrib/llvm/lib/Transforms/ObjCARC/
HDObjCARCAPElim.cpp155 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()

12345