/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 144 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument 156 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr() 190 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 219 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() 244 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 261 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 296 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 313 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument 320 PHITranslateSubExpr(Addr, CurBB, PredBB, MustDominate ? DT : nullptr); in PHITranslateValue() 342 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | PHITransAddr.cpp | 144 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument 156 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr() 190 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() 245 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 268 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 304 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 321 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument 324 Addr = PHITranslateSubExpr(Addr, CurBB, PredBB, DT); in PHITranslateValue() 345 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument [all …]
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 145 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument 158 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr() 192 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() 246 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 263 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 299 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 316 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument 323 PHITranslateSubExpr(Addr, CurBB, PredBB, MustDominate ? DT : nullptr); in PHITranslateValue() 345 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | PHITransAddr.h | 72 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, 82 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 93 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 101 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 82 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, 92 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 104 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 112 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 82 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, 92 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 104 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 112 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 66 BasicBlock *CurBB; // The currently executing BB member 74 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext() 77 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst), in ExecutionContext() 83 CurBB = O.CurBB;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 994 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument 1013 for (auto *SI : CurBB.successors()) { in getSingleLiveInSuccBB() 1021 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument 1028 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefReg, TRI); in getSingleLiveInSuccBB() 1036 static void clearKillFlags(MachineInstr *MI, MachineBasicBlock &CurBB, in clearKillFlags() argument 1045 for (MachineInstr &UI : make_range(NI, CurBB.end())) { in clearKillFlags() 1103 bool PostRAMachineSinking::tryToSinkCopy(MachineBasicBlock &CurBB, in tryToSinkCopy() argument 1111 for (MachineBasicBlock *SI : CurBB.successors()) in tryToSinkCopy() 1125 for (auto I = CurBB.rbegin(), E = CurBB.rend(); I != E;) { in tryToSinkCopy() 1157 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefedRegsInCopy, TRI); in tryToSinkCopy() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIOptimizeExecMaskingPreRA.cpp | 128 auto CurBB = Blocks.pop_back_val(); in runOnMachineFunction() local 129 auto I = CurBB->rbegin(), E = CurBB->rend(); in runOnMachineFunction() 167 for (auto *Pred : CurBB->predecessors()) { in runOnMachineFunction()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 557 BasicBlock *CurBB = &F->front(); in EvaluateFunction() local 559 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction() 563 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction() 571 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction() 590 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction() 593 CurBB = NextBB; in EvaluateFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | EscapeEnumerator.cpp | 36 BasicBlock *CurBB = &*StateBB++; in Next() local 40 TerminatorInst *TI = CurBB->getTerminator(); in Next()
|
D | Evaluator.cpp | 667 BasicBlock *CurBB = &F->front(); in EvaluateFunction() local 669 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction() 673 LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction() 681 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction() 700 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction() 703 CurBB = NextBB; in EvaluateFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 278 auto *CurBB = DFSI.getPath(i)->getBlock(); in eliminateGuardViaWidening() local 279 auto *CurLoop = LI.getLoopFor(CurBB); in eliminateGuardViaWidening() 280 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!"); in eliminateGuardViaWidening() 281 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second; in eliminateGuardViaWidening() 289 for (auto &I : *CurBB) { in eliminateGuardViaWidening() 300 assert((i == (e - 1)) == (GuardInst->getParent() == CurBB) && "Bad DFS?"); in eliminateGuardViaWidening()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 281 auto *CurBB = DFSI.getPath(i)->getBlock(); in eliminateGuardViaWidening() local 282 if (!BlockFilter(CurBB)) in eliminateGuardViaWidening() 284 auto *CurLoop = LI.getLoopFor(CurBB); in eliminateGuardViaWidening() 285 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!"); in eliminateGuardViaWidening() 286 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second; in eliminateGuardViaWidening() 294 for (auto &I : *CurBB) { in eliminateGuardViaWidening() 305 assert((i == (e - 1)) == (GuardInst->getParent() == CurBB) && "Bad DFS?"); in eliminateGuardViaWidening()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Value.h | 292 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB); 294 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument 296 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 399 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local 400 if (NewBB == CurBB) { in tryAndMerge() 412 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge() 419 assert(CommonDominator != CurBB && in tryAndMerge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 406 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local 407 if (NewBB == CurBB) { in tryAndMerge() 419 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge() 426 assert(CommonDominator != CurBB && in tryAndMerge()
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 96 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateBr() local 98 CurBB.addSuccessor(&getOrCreateBB(*Succ)); in translateBr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 63 BasicBlock *CurBB; // The currently executing BB member 71 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Value.h | 537 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB); 539 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument 541 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
|
/external/llvm/include/llvm/IR/ |
D | Value.h | 527 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB); 529 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument 531 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Value.h | 583 const Value *DoPHITranslation(const BasicBlock *CurBB, 585 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB) { in DoPHITranslation() argument 587 static_cast<const Value *>(this)->DoPHITranslation(CurBB, PredBB)); in DoPHITranslation()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 398 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock() local 410 if (CurBB && CurBB->getParent()) in EmitBlock() 411 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock() 421 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch() local 423 if (!CurBB || CurBB->getTerminator()) { in EmitBranch() 558 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt() local 565 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB); in EmitIndirectGotoStmt()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Value.cpp | 403 Value *Value::DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument 406 if (PN && PN->getParent() == CurBB) in DoPHITranslation()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ShadowStackGC.cpp | 114 BasicBlock *CurBB = StateBB++; in Next() local 118 TerminatorInst *TI = CurBB->getTerminator(); in Next()
|