/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 453 for (auto FirstI = First.begin(), SecondI = Second.begin(); in mergeReplacements() local 454 FirstI != First.end() || SecondI != Second.end();) { in mergeReplacements() 456 (FirstI != First.end() && in mergeReplacements() 457 FirstI->getOffset() < SecondI->getOffset() + Delta); in mergeReplacements() 458 MergedReplacement Merged(NextIsFirst ? *FirstI : *SecondI, NextIsFirst, in mergeReplacements() 460 ++(NextIsFirst ? FirstI : SecondI); in mergeReplacements() 463 (!Merged.mergeSecond() && FirstI != First.end())) { in mergeReplacements() 464 auto &I = Merged.mergeSecond() ? SecondI : FirstI; in mergeReplacements()
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 458 for (auto FirstI = First.begin(), SecondI = Second.begin(); in merge() local 459 FirstI != First.end() || SecondI != Second.end();) { in merge() 461 (FirstI != First.end() && in merge() 462 FirstI->getOffset() < SecondI->getOffset() + Delta); in merge() 463 MergedReplacement Merged(NextIsFirst ? *FirstI : *SecondI, NextIsFirst, in merge() 465 ++(NextIsFirst ? FirstI : SecondI); in merge() 468 (!Merged.mergeSecond() && FirstI != First.end())) { in merge() 469 auto &I = Merged.mergeSecond() ? SecondI : FirstI; in merge()
|
/external/llvm-project/llvm/unittests/CodeGen/ |
D | LexicalScopesTest.cpp | 267 MachineInstr *FirstI = BuildMI(*MBB1, MBB1->end(), InBlockLoc, BeanInst); in TEST_F() local 281 EXPECT_EQ(Ranges[0].first, FirstI); in TEST_F() 282 EXPECT_EQ(Ranges[0].second, FirstI); in TEST_F() 292 EXPECT_EQ(FuncRanges[0].first, FirstI); in TEST_F() 298 MachineInstr *FirstI = BuildMI(*MBB1, MBB1->end(), InBlockLoc, BeanInst); in TEST_F() local 318 EXPECT_EQ(FuncRanges[0].first, FirstI); in TEST_F() 324 EXPECT_EQ(BlockRanges[0].first, FirstI); in TEST_F() 325 EXPECT_EQ(BlockRanges[0].second, FirstI); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 685 const Instruction *FirstI = LandingPad->getBasicBlock()->getFirstNonPHI(); in addLandingPad() local 686 if (const auto *LPI = dyn_cast<LandingPadInst>(FirstI)) { in addLandingPad() 714 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad() 721 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 708 const Instruction *FirstI = LandingPad->getBasicBlock()->getFirstNonPHI(); in addLandingPad() local 709 if (const auto *LPI = dyn_cast<LandingPadInst>(FirstI)) { in addLandingPad() 737 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad() 744 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
|
/external/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 513 static bool memoryIsNotModifiedBetween(Instruction *FirstI, in memoryIsNotModifiedBetween() argument 518 BasicBlock::iterator FirstBBI(FirstI); in memoryIsNotModifiedBetween() 521 BasicBlock *FirstBB = FirstI->getParent(); in memoryIsNotModifiedBetween()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 598 static bool memoryIsNotModifiedBetween(Instruction *FirstI, in memoryIsNotModifiedBetween() argument 603 BasicBlock::iterator FirstBBI(FirstI); in memoryIsNotModifiedBetween() 606 BasicBlock *FirstBB = FirstI->getParent(); in memoryIsNotModifiedBetween()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 114 static bool hasWriteToReadDep(const MachineInstr &FirstI, in hasWriteToReadDep() argument 117 for (auto &MO : FirstI.operands()) { in hasWriteToReadDep()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 147 static bool hasWriteToReadDep(const MachineInstr &FirstI, in hasWriteToReadDep() argument 150 for (auto &MO : FirstI.operands()) { in hasWriteToReadDep()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 147 static bool hasWriteToReadDep(const MachineInstr &FirstI, in hasWriteToReadDep() argument 150 for (auto &MO : FirstI.operands()) { in hasWriteToReadDep()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 725 memoryIsNotModifiedBetween(Instruction *FirstI, Instruction *SecondI, AATy &AA, in memoryIsNotModifiedBetween() argument 738 BasicBlock::iterator FirstBBI(FirstI); in memoryIsNotModifiedBetween() 741 BasicBlock *FirstBB = FirstI->getParent(); in memoryIsNotModifiedBetween()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1832 Instruction &FirstI = const_cast<Instruction&>(*GS.AccessingFunction in processInternalGlobal() local 1837 GV->getName(), &FirstI); in processInternalGlobal() 1839 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1977 Instruction &FirstI = const_cast<Instruction&>(*GS.AccessingFunction in processInternalGlobal() local 1982 GV->getName(), &FirstI); in processInternalGlobal() 1984 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1960 Instruction &FirstI = const_cast<Instruction&>(*GS.AccessingFunction in processInternalGlobal() local 1965 GV->getName(), &FirstI); in processInternalGlobal() 1967 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal()
|