Searched defs:CurBB (Results 1 - 23 of 23) sorted by path

/external/clang/lib/CodeGen/
H A DCGAtomic.cpp1584 auto *CurBB = CGF.Builder.GetInsertBlock(); local
1588 PHI->addIncoming(OldVal, CurBB);
1667 auto *CurBB = CGF.Builder.GetInsertBlock(); local
1671 PHI->addIncoming(OldVal, CurBB);
H A DCGStmt.cpp398 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
410 if (CurBB && CurBB->getParent())
411 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB);
421 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
423 if (!CurBB || CurBB->getTerminator()) {
558 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
565 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB);
H A DCodeGenFunction.cpp226 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
228 if (CurBB) {
229 assert(!CurBB->getTerminator() && "Unexpected terminated block.");
233 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) {
234 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB);
/external/llvm/include/llvm/IR/
H A DValue.h523 /// If this value is a PHI node with CurBB as its parent, return the value in
527 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
529 const Value *DoPHITranslation(const BasicBlock *CurBB, argument
531 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB);
/external/llvm/lib/Analysis/
H A DPHITransAddr.cpp116 // If the input value is not an instruction, or if it is not defined in CurBB,
145 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, argument
158 if (Inst->getParent() != CurBB) {
192 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
246 GEPI->getParent()->getParent() == CurBB->getParent() &&
263 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
299 BO->getParent()->getParent() == CurBB->getParent() &&
313 /// CurBB to Pred, updating our state to reflect any needed changes. If
316 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBloc argument
345 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
369 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
402 BasicBlock *CurBB = GEP->getParent(); local
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4378 BasicBlock *CurBB = nullptr; local
4383 if (CurBB && !CurBB->empty())
4384 return &CurBB->back();
4477 CurBB = FunctionBBs[0];
4569 CurBB->getInstList().push_back(Temp);
5426 CurBB->getInstList().push_back(I);
5595 if (!CurBB) {
5603 CurBB->getInstList().push_back(I);
5608 CurBB
[all...]
/external/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp96 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); local
98 CurBB.addSuccessor(&getOrCreateBB(*Succ));
/external/llvm/lib/CodeGen/
H A DPrologEpilogInserter.cpp431 const MachineBasicBlock *CurBB = WorkList.pop_back_val(); local
434 if (CurBB == Save && Save != Restore)
438 for (MachineBasicBlock *SuccBB : CurBB->successors())
H A DShadowStackGCLowering.cpp119 BasicBlock *CurBB = &*StateBB++; local
123 TerminatorInst *TI = CurBB->getTerminator();
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h66 BasicBlock *CurBB; // The currently executing BB member in struct:llvm::ExecutionContext
74 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {}
77 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst),
83 CurBB = O.CurBB;
/external/llvm/lib/IR/
H A DValue.cpp638 Value *Value::DoPHITranslation(const BasicBlock *CurBB, argument
641 if (PN && PN->getParent() == CurBB)
/external/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp399 BasicBlock *CurBB = IPI->first->getParent(); local
400 if (NewBB == CurBB) {
412 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB);
418 // By construction, the CommonDominator cannot be CurBB.
419 assert(CommonDominator != CurBB &&
/external/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp278 auto *CurBB = DFSI.getPath(i)->getBlock(); local
279 auto *CurLoop = LI.getLoopFor(CurBB);
280 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!");
281 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second;
289 for (auto &I : *CurBB) {
300 assert((i == (e - 1)) == (GuardInst->getParent() == CurBB) && "Bad DFS?");
/external/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp556 // CurBB - The current basic block we're evaluating.
557 BasicBlock *CurBB = &F->front(); local
559 BasicBlock::iterator CurInst = CurBB->begin();
563 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n");
571 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator());
590 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB)));
593 CurBB = NextBB;
H A DInlineFunction.cpp1881 auto *CurBB = RI->getParent(); local
1893 IRBuilder<> Builder(CurBB);
1930 BasicBlock *CurBB = RI->getParent(); local
1937 IRBuilder<> Builder(CurBB);
/external/swiftshader/third_party/LLVM/include/llvm/
H A DValue.h288 /// DoPHITranslation - If this value is a PHI node with CurBB as its parent,
292 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
294 const Value *DoPHITranslation(const BasicBlock *CurBB, argument
296 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DPHITransAddr.cpp115 // If the input value is not an instruction, or if it is not defined in CurBB,
144 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, argument
156 if (Inst->getParent() != CurBB) {
190 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
245 GEPI->getParent()->getParent() == CurBB->getParent() &&
268 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
304 BO->getParent()->getParent() == CurBB->getParent() &&
318 /// CurBB to Pred, updating our state to reflect any needed changes. If the
321 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBloc argument
345 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
369 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
401 BasicBlock *CurBB = GEP->getParent(); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2062 BasicBlock *CurBB = 0; local
2119 CurBB = FunctionBBs[0];
2128 if (CurBB && !CurBB->empty())
2129 I = &CurBB->back();
2141 if (CurBB && !CurBB->empty())
2142 I = &CurBB->back();
2788 if (CurBB == 0) {
2792 CurBB
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1321 MachineBasicBlock *CurBB,
1323 const BasicBlock *BB = CurBB->getBasicBlock();
1331 if (CurBB == SwitchBB ||
1345 BOp->getOperand(1), NULL, TBB, FBB, CurBB);
1353 NULL, TBB, FBB, CurBB);
1361 MachineBasicBlock *CurBB,
1368 BOp->getParent() != CurBB->getBasicBlock() ||
1369 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) ||
1370 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) {
1371 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchB
1318 EmitBranchForMergedCondition(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB) argument
1358 FindMergedConditions(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, unsigned Opc) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DShadowStackGC.cpp114 BasicBlock *CurBB = StateBB++; local
118 TerminatorInst *TI = CurBB->getTerminator();
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h72 BasicBlock *CurBB; // The currently executing BB member in struct:llvm::ExecutionContext
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
H A DCBackend.cpp2452 void CWriter::printBranchToBlock(BasicBlock *CurBB, BasicBlock *Succ, argument
2454 if (isGotoCodeNecessary(CurBB, Succ)) {
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DValue.cpp399 /// DoPHITranslation - If this value is a PHI node with CurBB as its parent,
403 Value *Value::DoPHITranslation(const BasicBlock *CurBB, argument
406 if (PN && PN->getParent() == CurBB)

Completed in 741 milliseconds