Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/
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]); \
[all …]
DUser.h77 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
114 inline op_iterator op_begin() { return OperandList; } in op_begin() function
115 inline const_op_iterator op_begin() const { return OperandList; } in op_begin() function
128 for (op_iterator i = op_begin(), e = op_end(); i != e; ++i) in dropAllReferences()
170 return U - U->getUser()->op_begin();
DOperator.h247 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
248 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
/external/llvm/unittests/VMCore/
DInstructionsTest.cpp27 EXPECT_EQ(r0->op_begin(), r0->op_end()); in TEST()
33 User::const_op_iterator b(r1->op_begin()); in TEST()
62 EXPECT_NE(b0->op_begin(), b0->op_end()); in TEST()
63 EXPECT_EQ(llvm::next(b0->op_begin()), b0->op_end()); in TEST()
65 EXPECT_EQ(llvm::next(b0->op_begin()), b0->op_end()); in TEST()
80 User::const_op_iterator b(b1->op_begin()); in TEST()
/external/llvm/include/llvm/Support/
DDataFlow.h70 return U->op_begin();
91 return U->op_begin();
DGetElementPtrTypeIterator.h87 GEP->op_begin()+1); in gep_type_begin()
94 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.cpp232 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
247 SmallVector<const SCEV *, 4> NewMulOps(M->op_begin(), M->op_end()); in FactorOutConstant()
296 Ops.append(Add->op_begin(), Add->op_end()); in SimplifyAddOperands()
325 Ops.append(Add->op_begin(), Add->op_end()); in SplitAddRecs()
366 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP() argument
373 SmallVector<const SCEV *, 8> Ops(op_begin, op_end); in expandAddToGEP()
638 for (SCEVNAryExpr::op_iterator I = N->op_begin(), E = N->op_end(); in getRelevantLoop()
702 E(S->op_begin()); I != E; ++I) in visitAddExpr()
771 E(S->op_begin()); I != E; ++I) in visitMulExpr()
837 SmallVector<const SCEV *, 8> NewAddOps(A->op_begin(), A->op_end()); in ExposePointerBase()
[all …]
DScalarEvolutionNormalization.cpp94 for (SCEVNAryExpr::op_iterator I = AR->op_begin(), E = AR->op_end(); in TransformForPostIncUse()
150 for (SCEVNAryExpr::op_iterator I = X->op_begin(), E = X->op_end(); in TransformForPostIncUse()
DIVUsers.cpp68 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
248 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
DScalarEvolution.cpp184 for (SCEVNAryExpr::op_iterator I = NAry->op_begin(), E = NAry->op_end(); in print()
1311 for (SCEVAddRecExpr::op_iterator I = AR->op_begin(), E = AR->op_end(); in getAnyExtendExpr()
1388 Add->op_begin(), Add->getNumOperands(), in CollectAddOperandsWithScales()
1393 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1578 Ops.append(Add->op_begin(), Add->op_end()); in getAddExpr()
1643 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1644 Mul->op_begin()+MulOp); in getAddExpr()
1645 MulOps.append(Mul->op_begin()+MulOp+1, Mul->op_end()); in getAddExpr()
1676 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin(), in getAddExpr()
1677 Mul->op_begin()+MulOp); in getAddExpr()
[all …]
DLoads.cpp64 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end()); in getUnderlyingObjectWithOffset()
/external/llvm/lib/VMCore/
DInstructions.cpp90 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
121 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
146 Use *OldOps = op_begin(); in growOperands()
152 std::copy(OldOps, OldOps + e, op_begin()); in growOperands()
195 std::copy(Args.begin(), Args.end(), op_begin()); in init()
241 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
452 std::copy(Args.begin(), Args.end(), op_begin()); in init()
463 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
915 OperandTraits<StoreInst>::op_begin(this), in StoreInst()
927 OperandTraits<StoreInst>::op_begin(this), in StoreInst()
[all …]
DGlobals.cpp88 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
107 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
DModule.cpp476 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end(); in run()
530 for (Constant::const_op_iterator I = U->op_begin(), in incorporateValue()
/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()
DGlobalOpt.cpp748 for (User::op_iterator i = GEPI->op_begin() + 1, e = GEPI->op_end(); in OptimizeAwayTrappingUsesOfValue()
1246 GEPIdx.append(GEPI->op_begin()+3, GEPI->op_end()); in RewriteHeapSROALoadUser()
1962 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) { in FindGlobalCtors()
1990 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) { in ParseGlobalCtors()
2163 ConstantInt *CI = dyn_cast<ConstantInt>(*llvm::next(CE->op_begin())); in isSimpleEnoughPointerToCommit()
2203 for (User::op_iterator i = CS->op_begin(), e = CS->op_end(); i != e; ++i) in EvaluateStoreInto()
2237 for (User::op_iterator i = CA->op_begin(), e = CA->op_end(); i != e; ++i) in EvaluateStoreInto()
2240 for (User::op_iterator i = CV->op_begin(), e = CV->op_end(); i != e; ++i) in EvaluateStoreInto()
2411 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); in EvaluateFunction()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp77 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in ValueEnumerator()
299 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); in EnumerateValue()
412 for (User::const_op_iterator OI = I->op_begin(), E = I->op_end(); in incorporateFunction()
435 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.cpp109 for (User::op_iterator OI = I->op_begin(), E = I->op_end(); OI != E; ++OI) in runOnFunction()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h158 op_iterator op_begin() const { return Operands; } in op_begin() function
311 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, in getStepRecurrence()
DScalarEvolutionExpander.h159 Value *expandAddToGEP(const SCEV *const *op_begin,
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp743 SmallVector<Value*, 8> Ops(GEP.op_begin(), GEP.op_end()); in visitGetElementPtrInst()
757 for (User::op_iterator I = GEP.op_begin() + 1, E = GEP.op_end(); in visitGetElementPtrInst()
841 Indices.append(Src->op_begin()+1, Src->op_end()-1); in visitGetElementPtrInst()
843 Indices.append(GEP.op_begin()+2, GEP.op_end()); in visitGetElementPtrInst()
848 Indices.append(Src->op_begin()+1, Src->op_end()); in visitGetElementPtrInst()
1428 for (User::op_iterator i = Inst->op_begin(), e = Inst->op_end(); in AddReachableCodeToWorklist()
/external/llvm/lib/Target/Blackfin/
DBlackfinISelDAGToDAG.cpp131 SmallVector<SDValue, 8> ops(N->op_begin(), N->op_end()); in UpdateNodeOperand()

123