Searched refs:OldEntry (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 496 BasicBlock *&OldEntry, in eliminateRecursiveTailCall() argument 563 if (!OldEntry) { in eliminateRecursiveTailCall() 564 OldEntry = &F->getEntryBlock(); in eliminateRecursiveTailCall() 565 BasicBlock *NewEntry = BasicBlock::Create(F->getContext(), "", F, OldEntry); in eliminateRecursiveTailCall() 566 NewEntry->takeName(OldEntry); in eliminateRecursiveTailCall() 567 OldEntry->setName("tailrecurse"); in eliminateRecursiveTailCall() 568 BranchInst::Create(OldEntry, NewEntry); in eliminateRecursiveTailCall() 575 for (BasicBlock::iterator OEBI = OldEntry->begin(), E = OldEntry->end(), in eliminateRecursiveTailCall() 585 Instruction *InsertPos = &OldEntry->front(); in eliminateRecursiveTailCall() 619 pred_iterator PB = pred_begin(OldEntry), PE = pred_end(OldEntry); in eliminateRecursiveTailCall() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 501 CallInst *CI, ReturnInst *Ret, BasicBlock *&OldEntry, in eliminateRecursiveTailCall() argument 571 if (!OldEntry) { in eliminateRecursiveTailCall() 572 OldEntry = &F->getEntryBlock(); in eliminateRecursiveTailCall() 573 BasicBlock *NewEntry = BasicBlock::Create(F->getContext(), "", F, OldEntry); in eliminateRecursiveTailCall() 574 NewEntry->takeName(OldEntry); in eliminateRecursiveTailCall() 575 OldEntry->setName("tailrecurse"); in eliminateRecursiveTailCall() 576 BranchInst *BI = BranchInst::Create(OldEntry, NewEntry); in eliminateRecursiveTailCall() 584 for (BasicBlock::iterator OEBI = OldEntry->begin(), E = OldEntry->end(), in eliminateRecursiveTailCall() 594 Instruction *InsertPos = &OldEntry->front(); in eliminateRecursiveTailCall() 632 pred_iterator PB = pred_begin(OldEntry), PE = pred_end(OldEntry); in eliminateRecursiveTailCall() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 130 AddrLabelSymEntry OldEntry = std::move(AddrLabelSymbols[Old]); in UpdateForRAUWBlock() local 132 assert(!OldEntry.Symbols.empty() && "Didn't have a symbol, why a callback?"); in UpdateForRAUWBlock() 138 BBCallbacks[OldEntry.Index].setPtr(New); // Update the callback. in UpdateForRAUWBlock() 139 NewEntry = std::move(OldEntry); // Set New's entry. in UpdateForRAUWBlock() 143 BBCallbacks[OldEntry.Index] = nullptr; // Update the callback. in UpdateForRAUWBlock() 146 NewEntry.Symbols.insert(NewEntry.Symbols.end(), OldEntry.Symbols.begin(), in UpdateForRAUWBlock() 147 OldEntry.Symbols.end()); in UpdateForRAUWBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 175 AddrLabelSymEntry OldEntry = std::move(AddrLabelSymbols[Old]); in UpdateForRAUWBlock() local 177 assert(!OldEntry.Symbols.empty() && "Didn't have a symbol, why a callback?"); in UpdateForRAUWBlock() 183 BBCallbacks[OldEntry.Index].setPtr(New); // Update the callback. in UpdateForRAUWBlock() 184 NewEntry = std::move(OldEntry); // Set New's entry. in UpdateForRAUWBlock() 188 BBCallbacks[OldEntry.Index] = nullptr; // Update the callback. in UpdateForRAUWBlock() 191 NewEntry.Symbols.insert(NewEntry.Symbols.end(), OldEntry.Symbols.begin(), in UpdateForRAUWBlock() 192 OldEntry.Symbols.end()); in UpdateForRAUWBlock()
|
/external/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 157 AddrLabelSymEntry OldEntry = std::move(AddrLabelSymbols[Old]); in UpdateForRAUWBlock() local 159 assert(!OldEntry.Symbols.empty() && "Didn't have a symbol, why a callback?"); in UpdateForRAUWBlock() 165 BBCallbacks[OldEntry.Index].setPtr(New); // Update the callback. in UpdateForRAUWBlock() 166 NewEntry = std::move(OldEntry); // Set New's entry. in UpdateForRAUWBlock() 170 BBCallbacks[OldEntry.Index] = nullptr; // Update the callback. in UpdateForRAUWBlock() 173 NewEntry.Symbols.insert(NewEntry.Symbols.end(), OldEntry.Symbols.begin(), in UpdateForRAUWBlock() 174 OldEntry.Symbols.end()); in UpdateForRAUWBlock()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | RegionInfoImpl.h | 70 BlockT *OldEntry = getEntry(); in replaceEntryRecursive() local 79 if (Child->getEntry() == OldEntry) in replaceEntryRecursive()
|
/external/llvm/include/llvm/Analysis/ |
D | RegionInfoImpl.h | 66 BlockT *OldEntry = getEntry(); in replaceEntryRecursive() local 76 if ((*RI)->getEntry() == OldEntry) in replaceEntryRecursive()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | RegionInfoImpl.h | 70 BlockT *OldEntry = getEntry(); in replaceEntryRecursive() local 79 if (Child->getEntry() == OldEntry) in replaceEntryRecursive()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroSplit.cpp | 591 auto *OldEntry = &NewF->getEntryBlock(); in replaceEntryBlock() local 593 Entry->moveBefore(OldEntry); in replaceEntryBlock() 638 Function *F = OldEntry->getParent(); in replaceEntryBlock()
|