Home
last modified time | relevance | path

Searched refs:idx_begin (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/include/llvm/IR/
DOperator.h383 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin() function
384 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin() function
422 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices()
435 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
DInstructions.h964 inline op_iterator idx_begin() { return op_begin()+1; }
965 inline const_op_iterator idx_begin() const { return op_begin()+1; }
2232 inline idx_iterator idx_begin() const { return Indices.begin(); }
2235 return make_range(idx_begin(), idx_end());
2349 inline idx_iterator idx_begin() const { return Indices.begin(); }
2352 return make_range(idx_begin(), idx_end());
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp109 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
112 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
DSjLjEHPrepare.cpp167 if (*EVI->idx_begin() == 0) in substituteLPadValues()
169 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1546 } else if (isa<Constant>(*GEP.idx_begin()) && in visitGetElementPtrInst()
1547 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst()
1551 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
1638 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
1676 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst()
2215 for (exti = EV.idx_begin(), insi = IV->idx_begin(), in visitExtractValueInst()
2274 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst()
2291 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst()
2300 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst()
2323 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
DInstCombineLoadStoreAlloca.cpp694 SmallVector<Value *, 4> Ops(GEPI->idx_begin(), GEPI->idx_begin() + Idx); in canReplaceGEPIdxWithZero()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp252 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) { in isGEPFoldable()
297 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) { in hasOnlyOneNonZeroIndex()
518 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in allocateCandidatesAndFindBasisForGEP()
DNaryReassociate.cpp317 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) { in isGEPFoldable()
406 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in tryReassociateGEPAtIndex()
DEarlyCSE.cpp128 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValue()
133 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValue()
DGVN.cpp196 for (InsertValueInst::idx_iterator II = E->idx_begin(), IE = E->idx_end(); in create_expression()
230 if (I != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0 ) { in create_extractvalue_expression()
268 for (ExtractValueInst::idx_iterator II = EI->idx_begin(), IE = EI->idx_end(); in create_extractvalue_expression()
1742 for (GetElementPtrInst::op_iterator OI = GEP->idx_begin(), in processNonLocalLoad()
DSCCP.cpp778 unsigned i = *EVI.idx_begin(); in visitExtractValueInst()
798 unsigned Idx = *IVI.idx_begin(); in visitInsertValueInst()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp156 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end()); in hoistAddrSpaceCastFromGEP()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp259 index = *EV->idx_begin(); in PropagateConstantReturn()
DArgumentPromotion.cpp481 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument()
525 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); in isSafeToPromoteArgument()
964 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in DoPromotion()
DDeadArgumentElimination.cpp464 RetValNum = *IV->idx_begin(); in SurveyUse()
607 unsigned Idx = *Ext->idx_begin(); in SurveyFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp317 if (GepI->idx_begin() == GepI->idx_end()) in isHandledGepForm()
339 N->Idx = *GepI->idx_begin(); in processGepInst()
362 for (User::op_iterator OI = GepI->idx_begin()+1, OE = GepI->idx_end(); in processGepInst()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp266 std::vector<Value*> Params(GEP->idx_begin(), GEP->idx_end()); in Propagate()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h472 SmallVector<Value *, 4> Indices(GEP->idx_begin(), GEP->idx_end()); in getUserCost()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp3415 unsigned Pairs = UsefulGEP ? SrcGEP->idx_end() - SrcGEP->idx_begin() : 1; in depends()
3420 for (GEPOperator::const_op_iterator SrcIdx = SrcGEP->idx_begin(), in depends()
3422 DstIdx = DstGEP->idx_begin(); in depends()
3846 unsigned Pairs = UsefulGEP ? SrcGEP->idx_end() - SrcGEP->idx_begin() : 1; in getSplitIteration()
3850 for (GEPOperator::const_op_iterator SrcIdx = SrcGEP->idx_begin(), in getSplitIteration()
3852 DstIdx = DstGEP->idx_begin(); in getSplitIteration()
DCFLAliasAnalysis.cpp211 for (auto I = Inst.idx_begin(), E = Inst.idx_end(); I != E; ++I) in visitGetElementPtrInst()
DInlineCost.cpp251 for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E; ++I) in isGEPOffsetConstant()
DBasicAliasAnalysis.cpp1241 isa<ConstantInt>(PV1GEP->idx_begin())) { in aliasPHI()
DLoopAccessAnalysis.cpp795 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in isNoWrapAddRec()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1523 << evi->idx_begin()[i] << ");"; in printInstruction()
1540 << ivi->idx_begin()[i] << ");"; in printInstruction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1891 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitExtractValueInst()
1936 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitInsertValueInst()

12