Home
last modified time | relevance | path

Searched refs:CurBB (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Analysis/
DPHITransAddr.cpp145 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument
157 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr()
191 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr()
244 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
267 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
302 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
319 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument
322 Addr = PHITranslateSubExpr(Addr, CurBB, PredBB, DT); in PHITranslateValue()
343 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument
[all …]
/external/llvm/include/llvm/Analysis/
DPHITransAddr.h81 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB,
91 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB,
102 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB,
110 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h67 BasicBlock *CurBB; // The currently executing BB member
75 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext()
78 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst), in ExecutionContext()
84 CurBB = O.CurBB;
DExecution.cpp931 BasicBlock *PrevBB = SF.CurBB; // Remember where we came from... in SwitchToNewBasicBlock()
932 SF.CurBB = Dest; // Update CurBB to branch destination in SwitchToNewBasicBlock()
933 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... in SwitchToNewBasicBlock()
951 SF.CurInst = SF.CurBB->begin(); in SwitchToNewBasicBlock()
2095 StackFrame.CurBB = F->begin(); in callFunction()
2096 StackFrame.CurInst = StackFrame.CurBB->begin(); in callFunction()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp380 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local
381 if (NewBB == CurBB) { in tryAndMerge()
393 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge()
400 assert(CommonDominator != CurBB && in tryAndMerge()
/external/llvm/include/llvm/IR/
DValue.h461 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
463 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
465 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
/external/clang/lib/CodeGen/
DCGStmt.cpp340 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock() local
352 if (CurBB && CurBB->getParent()) in EmitBlock()
353 CurFn->getBasicBlockList().insertAfter(CurBB, BB); in EmitBlock()
363 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch() local
365 if (!CurBB || CurBB->getTerminator()) { in EmitBranch()
500 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt() local
507 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB); in EmitIndirectGotoStmt()
DCodeGenFunction.cpp168 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock() local
170 if (CurBB) { in EmitReturnBlock()
171 assert(!CurBB->getTerminator() && "Unexpected terminated block."); in EmitReturnBlock()
175 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) { in EmitReturnBlock()
176 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB); in EmitReturnBlock()
DCGAtomic.cpp1475 auto *CurBB = Builder.GetInsertBlock(); in EmitAtomicStore() local
1479 PHI->addIncoming(OldRVal.getScalarVal(), CurBB); in EmitAtomicStore()
1546 auto *CurBB = Builder.GetInsertBlock(); in EmitAtomicUpdate() local
1550 PHI->addIncoming(OldVal, CurBB); in EmitAtomicUpdate()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp115 BasicBlock *CurBB = StateBB++; in Next() local
119 TerminatorInst *TI = CurBB->getTerminator(); in Next()
/external/llvm/lib/IR/
DValue.cpp611 Value *Value::DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
614 if (PN && PN->getParent() == CurBB) in DoPHITranslation()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h629 MachineBasicBlock *FBB, MachineBasicBlock *CurBB,
634 MachineBasicBlock *CurBB,
DSelectionDAGBuilder.cpp1409 MachineBasicBlock *CurBB, in EmitBranchForMergedCondition() argument
1413 const BasicBlock *BB = CurBB->getBasicBlock(); in EmitBranchForMergedCondition()
1421 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1437 TBB, FBB, CurBB, TWeight, FWeight); in EmitBranchForMergedCondition()
1445 nullptr, TBB, FBB, CurBB, TWeight, FWeight); in EmitBranchForMergedCondition()
1461 MachineBasicBlock *CurBB, in FindMergedConditions() argument
1469 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
1470 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions()
1471 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) { in FindMergedConditions()
1472 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3268 BasicBlock *CurBB = nullptr; in ParseFunctionBody() local
3273 if (CurBB && !CurBB->empty()) in ParseFunctionBody()
3274 return &CurBB->back(); in ParseFunctionBody()
3365 CurBB = FunctionBBs[0]; in ParseFunctionBody()
3459 CurBB->getInstList().push_back(Temp); in ParseFunctionBody()
4123 CurBB->getInstList().push_back(I); in ParseFunctionBody()
4239 if (!CurBB) { in ParseFunctionBody()
4243 CurBB->getInstList().push_back(I); in ParseFunctionBody()
4248 CurBB = CurBBNo < FunctionBBs.size() ? FunctionBBs[CurBBNo] : nullptr; in ParseFunctionBody()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2646 BasicBlock *CurBB = F->begin(); in EvaluateFunction() local
2648 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction()
2652 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction()
2660 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction()
2679 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction()
2682 CurBB = NextBB; in EvaluateFunction()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1242 BasicBlock *CurBB = RI->getParent(); in InlineFunction() local
1249 IRBuilder<> Builder(CurBB); in InlineFunction()