Home
last modified time | relevance | path

Searched refs:OldEntry (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DTailRecursionElimination.cpp93 BasicBlock *&OldEntry,
98 ReturnInst *Ret, BasicBlock *&OldEntry,
102 bool ProcessReturningBlock(ReturnInst *RI, BasicBlock *&OldEntry,
154 BasicBlock *OldEntry = 0; in runOnFunction() local
186 bool Change = ProcessReturningBlock(Ret, OldEntry, TailCallsAreMarkedTail, in runOnFunction()
189 Change = FoldReturnAndProcessPred(BB, Ret, OldEntry, in runOnFunction()
411 BasicBlock *&OldEntry, in EliminateRecursiveTailCall() argument
475 if (OldEntry == 0) { in EliminateRecursiveTailCall()
476 OldEntry = &F->getEntryBlock(); in EliminateRecursiveTailCall()
477 BasicBlock *NewEntry = BasicBlock::Create(F->getContext(), "", F, OldEntry); in EliminateRecursiveTailCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp492 BasicBlock *&OldEntry, in eliminateRecursiveTailCall() argument
564 if (!OldEntry) { in eliminateRecursiveTailCall()
565 OldEntry = &F->getEntryBlock(); in eliminateRecursiveTailCall()
566 BasicBlock *NewEntry = BasicBlock::Create(F->getContext(), "", F, OldEntry); in eliminateRecursiveTailCall()
567 NewEntry->takeName(OldEntry); in eliminateRecursiveTailCall()
568 OldEntry->setName("tailrecurse"); in eliminateRecursiveTailCall()
569 BranchInst::Create(OldEntry, NewEntry); in eliminateRecursiveTailCall()
576 for (BasicBlock::iterator OEBI = OldEntry->begin(), E = OldEntry->end(), in eliminateRecursiveTailCall()
586 Instruction *InsertPos = &OldEntry->front(); in eliminateRecursiveTailCall()
620 pred_iterator PB = pred_begin(OldEntry), PE = pred_end(OldEntry); in eliminateRecursiveTailCall()
[all …]
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp496 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-7.0/llvm/lib/CodeGen/
DMachineModuleInfo.cpp169 AddrLabelSymEntry OldEntry = std::move(AddrLabelSymbols[Old]); in UpdateForRAUWBlock() local
171 assert(!OldEntry.Symbols.empty() && "Didn't have a symbol, why a callback?"); in UpdateForRAUWBlock()
177 BBCallbacks[OldEntry.Index].setPtr(New); // Update the callback. in UpdateForRAUWBlock()
178 NewEntry = std::move(OldEntry); // Set New's entry. in UpdateForRAUWBlock()
182 BBCallbacks[OldEntry.Index] = nullptr; // Update the callback. in UpdateForRAUWBlock()
185 NewEntry.Symbols.insert(NewEntry.Symbols.end(), OldEntry.Symbols.begin(), in UpdateForRAUWBlock()
186 OldEntry.Symbols.end()); in UpdateForRAUWBlock()
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp157 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/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineModuleInfo.cpp204 AddrLabelSymEntry OldEntry = AddrLabelSymbols[Old]; in UpdateForRAUWBlock() local
206 assert(!OldEntry.Symbols.isNull() && "Didn't have a symbol, why a callback?"); in UpdateForRAUWBlock()
212 BBCallbacks[OldEntry.Index].setPtr(New); // Update the callback. in UpdateForRAUWBlock()
213 NewEntry = OldEntry; // Set New's entry. in UpdateForRAUWBlock()
217 BBCallbacks[OldEntry.Index] = 0; // Update the callback. in UpdateForRAUWBlock()
231 if (MCSymbol *Sym = OldEntry.Symbols.dyn_cast<MCSymbol*>()) { in UpdateForRAUWBlock()
237 std::vector<MCSymbol*> *Syms =OldEntry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForRAUWBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DRegionInfoImpl.h71 BlockT *OldEntry = getEntry(); in replaceEntryRecursive() local
80 if (Child->getEntry() == OldEntry) in replaceEntryRecursive()
/external/llvm/include/llvm/Analysis/
DRegionInfoImpl.h66 BlockT *OldEntry = getEntry(); in replaceEntryRecursive() local
76 if ((*RI)->getEntry() == OldEntry) in replaceEntryRecursive()