Home
last modified time | relevance | path

Searched refs:op_begin (Results 1 – 25 of 80) 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.h79 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
116 inline op_iterator op_begin() { return OperandList; } in op_begin() function
117 inline const_op_iterator op_begin() const { return OperandList; } in op_begin() function
154 return value_op_iterator(op_begin()); in value_op_begin()
169 for (op_iterator i = op_begin(), e = op_end(); i != e; ++i) in dropAllReferences()
210 return U - U->getUser()->op_begin();
DOperator.h377 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
378 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
/external/llvm/unittests/IR/
DInstructionsTest.cpp32 EXPECT_EQ(r0->op_begin(), r0->op_end()); in TEST()
38 User::const_op_iterator b(r1->op_begin()); in TEST()
67 EXPECT_NE(b0->op_begin(), b0->op_end()); in TEST()
68 EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin())); in TEST()
70 EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin())); in TEST()
85 User::const_op_iterator b(b1->op_begin()); in TEST()
/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.cpp63 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run()
132 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
DGlobals.cpp91 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
112 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
DValue.cpp119 if (std::find(I->op_begin(), I->op_end(), this) != I->op_end()) in isUsedInBasicBlock()
426 for (User::const_op_iterator I = GEP->op_begin()+1, in isDereferenceablePointer()
/external/llvm/include/llvm/Support/
DDataFlow.h70 return U->op_begin();
91 return U->op_begin();
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()
/external/llvm/lib/Analysis/IPA/
DFindUsedTypes.cpp50 for (User::const_op_iterator OI = C->op_begin(), OE = C->op_end(); in IncorporateValue()
82 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in runOnModule()
/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.cpp262 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
277 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
326 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands()
355 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs()
396 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument
403 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP()
656 for (SCEVNAryExpr::op_iterator I = N->op_begin(), E = N->op_end(); in getRelevantLoop()
719 E(S->op_begin()); I != E; ++I) in visitAddExpr()
788 E(S->op_begin()); I != E; ++I) in visitMulExpr()
854 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()
163 for (SCEVNAryExpr::op_iterator I = X->op_begin(), E = X->op_end(); in TransformImpl()
DScalarEvolution.cpp194 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print()
1099 for (SCEVAddExpr::op_iterator I = SA->op_begin(), E = SA->op_end(); in getPreStartForSignExtend()
1342 for (SCEVAddRecExpr::op_iterator I = AR->op_begin(), E = AR->op_end(); in getAnyExtendExpr()
1412 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales()
1417 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1602 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr()
1667 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1668 Mul->op_begin()+MulOp); in getAddExpr()
1669 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
1700 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
[all …]
DIVUsers.cpp69 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
310 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp182 for (User::op_iterator U = I->op_begin(), E = I->op_end(); U != E; ++U) in GlobalIsNeeded()
196 for (User::op_iterator I = C->op_begin(), E = C->op_end(); I != E; ++I) in MarkUsedGlobalsAsNeeded()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp79 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in ValueEnumerator()
334 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); in EnumerateValue()
458 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
481 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp69 for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end(); in runOnFunction()
DDCE.cpp113 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
DLoopStrengthReduce.cpp286 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in DoInitialMatch()
307 SmallVector<const SCEV *, 4> Ops(Mul->op_begin()+1, Mul->op_end()); in DoInitialMatch()
519 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in getExactSDiv()
536 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
566 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate()
572 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate()
593 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol()
599 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol()
708 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()
762 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in DeleteTriviallyDeadInstructions()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp154 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runOnModule()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h154 op_iterator op_begin() const { return Operands; } in op_begin() function
302 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, in getStepRecurrence()
524 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), in visitAll()
DScalarEvolutionExpander.h212 Value *expandAddToGEP(const SCEV *const *op_begin,
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h194 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); i != e;

1234