Home
last modified time | relevance | path

Searched refs:idx_end (Results 1 – 25 of 66) sorted by relevance

123

/external/llvm-project/llvm/include/llvm/IR/
DOperator.h484 inline op_iterator idx_end() { return op_end(); } in idx_end() function
485 inline const_op_iterator idx_end() const { return op_end(); } in idx_end() function
522 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices()
535 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
543 return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { in countNonConstantIndices()
DInstructions.h1039 inline op_iterator idx_end() { return op_end(); }
1040 inline const_op_iterator idx_end() const { return op_end(); }
1043 return make_range(idx_begin(), idx_end());
1047 return make_range(idx_begin(), idx_end());
2378 inline idx_iterator idx_end() const { return Indices.end(); }
2380 return make_range(idx_begin(), idx_end());
2499 inline idx_iterator idx_end() const { return Indices.end(); }
2501 return make_range(idx_begin(), idx_end());
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h484 inline op_iterator idx_end() { return op_end(); } in idx_end() function
485 inline const_op_iterator idx_end() const { return op_end(); } in idx_end() function
522 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices()
535 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
543 return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { in countNonConstantIndices()
DInstructions.h1019 inline op_iterator idx_end() { return op_end(); }
1020 inline const_op_iterator idx_end() const { return op_end(); }
1023 return make_range(idx_begin(), idx_end());
1027 return make_range(idx_begin(), idx_end());
2348 inline idx_iterator idx_end() const { return Indices.end(); }
2350 return make_range(idx_begin(), idx_end());
2469 inline idx_iterator idx_end() const { return Indices.end(); }
2471 return make_range(idx_begin(), idx_end());
/external/llvm/include/llvm/IR/
DOperator.h385 inline op_iterator idx_end() { return op_end(); } in idx_end() function
386 inline const_op_iterator idx_end() const { return op_end(); } in idx_end() function
423 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices()
436 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
DInstructions.h957 inline op_iterator idx_end() { return op_end(); }
958 inline const_op_iterator idx_end() const { return op_end(); }
2279 inline idx_iterator idx_end() const { return Indices.end(); }
2281 return make_range(idx_begin(), idx_end());
2396 inline idx_iterator idx_end() const { return Indices.end(); }
2398 return make_range(idx_begin(), idx_end());
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp240 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
268 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) { in hasOnlyOneNonZeroIndex()
489 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in allocateCandidatesAndFindBasisForGEP()
DNaryReassociate.cpp305 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
375 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in tryReassociateGEPAtIndex()
DEarlyCSE.cpp120 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValue()
125 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp276 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
304 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) { in hasOnlyOneNonZeroIndex()
525 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in allocateCandidatesAndFindBasisForGEP()
DNaryReassociate.cpp301 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
373 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in tryReassociateGEPAtIndex()
DEarlyCSE.cpp273 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValueImpl()
278 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValueImpl()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp297 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
369 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp289 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
317 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) { in hasOnlyOneNonZeroIndex()
538 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in allocateCandidatesAndFindBasisForGEP()
DEarlyCSE.cpp259 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValueImpl()
264 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValueImpl()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp159 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end()); in hoistAddrSpaceCastFromGEP()
DNVPTXInferAddressSpaces.cpp320 SmallVector<Value *, 4>(GEP->idx_begin(), GEP->idx_end())); in cloneInstructionWithNewAddressSpace()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp507 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument()
552 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); in isSafeToPromoteArgument()
986 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in DoPromotion()
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp442 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in doPromotion()
630 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument()
689 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); i != e; in isSafeToPromoteArgument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp442 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in doPromotion()
636 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument()
695 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); i != e; in isSafeToPromoteArgument()
/external/llvm-project/llvm/unittests/IR/
DInstructionsTest.cpp755 ASSERT_NE(GEPI->idx_begin(), GEPI->idx_end()); in TEST()
756 ASSERT_EQ(GEPI->idx_end(), std::next(GEPI->idx_begin(), 3)); in TEST()
761 EXPECT_EQ(GEPI->idx_end(), GEPI->indices().end()); in TEST()
764 ASSERT_NE(CGEPI->idx_begin(), CGEPI->idx_end()); in TEST()
765 ASSERT_EQ(CGEPI->idx_end(), std::next(CGEPI->idx_begin(), 3)); in TEST()
770 EXPECT_EQ(CGEPI->idx_end(), CGEPI->indices().end()); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1548 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
1633 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
1671 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst()
2245 exte = EV.idx_end(), inse = IV->idx_end(); in visitExtractValueInst()
2352 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1818 SmallVector<Value *, 4> IndexC(GEP.idx_begin(), GEP.idx_end()); in foldSelectGEP()
2113 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2198 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2234 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst()
2979 exte = EV.idx_end(), inse = IV->idx_end(); in visitExtractValueInst()
3061 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1947 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2030 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2067 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst()
2708 exte = EV.idx_end(), inse = IV->idx_end(); in visitExtractValueInst()
2790 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h508 SmallVector<Value *, 4> Indices(GEP->idx_begin(), GEP->idx_end()); in getUserCost()

123