/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Operator.h | 247 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin() function 248 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin() function 280 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices() 293 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Operator.h | 455 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin() function 456 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin() function 495 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices() 508 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices() 516 return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { in countNonConstantIndices()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 671 ASSERT_NE(GEPI->idx_begin(), GEPI->idx_end()); in TEST() 672 ASSERT_EQ(GEPI->idx_end(), std::next(GEPI->idx_begin(), 3)); in TEST() 673 EXPECT_EQ(Indices[0], GEPI->idx_begin()[0]); in TEST() 674 EXPECT_EQ(Indices[1], GEPI->idx_begin()[1]); in TEST() 675 EXPECT_EQ(Indices[2], GEPI->idx_begin()[2]); in TEST() 676 EXPECT_EQ(GEPI->idx_begin(), GEPI->indices().begin()); in TEST() 680 ASSERT_NE(CGEPI->idx_begin(), CGEPI->idx_end()); in TEST() 681 ASSERT_EQ(CGEPI->idx_end(), std::next(CGEPI->idx_begin(), 3)); in TEST() 682 EXPECT_EQ(Indices[0], CGEPI->idx_begin()[0]); in TEST() 683 EXPECT_EQ(Indices[1], CGEPI->idx_begin()[1]); in TEST() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 383 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 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 112 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject() 115 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
|
D | SjLjEHPrepare.cpp | 146 if (*EVI->idx_begin() == 0) in substituteLPadValues() 148 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
|
/external/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 109 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject() 112 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
|
D | SjLjEHPrepare.cpp | 143 if (*EVI->idx_begin() == 0) in substituteLPadValues() 145 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 895 } else if (isa<Constant>(*GEP.idx_begin()) && in visitGetElementPtrInst() 896 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 900 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst() 934 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst() 1271 Value *V = C->getOperand(*EV.idx_begin()); in visitExtractValueInst() 1284 for (exti = EV.idx_begin(), insi = IV->idx_begin(), in visitExtractValueInst() 1343 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 1360 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 1369 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 1391 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopDependenceAnalysis.cpp | 258 for(GEPOperator::const_op_iterator aIdx = aGEP->idx_begin(), in analysePair() 260 bIdx = bGEP->idx_begin(), in analysePair()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 102 for (ExtractValueInst::idx_iterator I = EVI->idx_begin(), in getHashValue() 106 for (InsertValueInst::idx_iterator I = IVI->idx_begin(), in getHashValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 276 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()
|
D | NaryReassociate.cpp | 301 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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 240 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()
|
D | NaryReassociate.cpp | 305 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()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1543 } else if (isa<Constant>(*GEP.idx_begin()) && in visitGetElementPtrInst() 1544 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 1548 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() 2244 for (exti = EV.idx_begin(), insi = IV->idx_begin(), in visitExtractValueInst() 2303 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2320 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2329 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2352 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1699 } else if (isa<Constant>(*GEP.idx_begin()) && in visitGetElementPtrInst() 1700 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 1704 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst() 1785 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst() 1822 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst() 2413 for (exti = EV.idx_begin(), insi = IV->idx_begin(), in visitExtractValueInst() 2472 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2489 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2498 if (*EV.idx_begin() == 0) { // Normal result. in visitExtractValueInst() 2521 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
|
D | InstCombineLoadStoreAlloca.cpp | 311 Indices.append(GEP->idx_begin(), GEP->idx_end()); in replace() 908 SmallVector<Value *, 4> Ops(GEPI->idx_begin(), GEPI->idx_begin() + Idx); in canReplaceGEPIdxWithZero() 1126 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 159 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end()); in hoistAddrSpaceCastFromGEP()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 357 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument() 403 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); in isSafeToPromoteArgument() 841 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in DoPromotion()
|
D | IPConstantPropagation.cpp | 259 index = *EV->idx_begin(); in PropagateConstantReturn()
|
/external/llvm/lib/Transforms/IPO/ |
D | IPConstantPropagation.cpp | 230 index = *EV->idx_begin(); in PropagateConstantReturn()
|
D | ArgumentPromotion.cpp | 507 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 435 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in doPromotion() 613 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument() 659 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); i != e; in isSafeToPromoteArgument()
|
D | IPConstantPropagation.cpp | 236 index = *EV->idx_begin(); in PropagateConstantReturn()
|