Home
last modified time | relevance | path

Searched refs:CurBB (Results 1 – 13 of 13) 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()
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr()
246 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
269 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
305 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
322 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument
325 Addr = PHITranslateSubExpr(Addr, CurBB, PredBB, DT); in PHITranslateValue()
346 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument
[all …]
/external/llvm/include/llvm/Analysis/
DPHITransAddr.h76 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB,
86 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB,
97 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB,
105 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
/external/llvm/include/llvm/
DValue.h299 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
301 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
303 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
/external/clang/lib/CodeGen/
DCGStmt.cpp246 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock() local
258 if (CurBB && CurBB->getParent()) in EmitBlock()
259 CurFn->getBasicBlockList().insertAfter(CurBB, BB); in EmitBlock()
269 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch() local
271 if (!CurBB || CurBB->getTerminator()) { in EmitBranch()
363 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt() local
370 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB); in EmitIndirectGotoStmt()
DCodeGenFunction.cpp110 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock() local
112 if (CurBB) { in EmitReturnBlock()
113 assert(!CurBB->getTerminator() && "Unexpected terminated block."); in EmitReturnBlock()
117 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) { in EmitReturnBlock()
118 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB); in EmitReturnBlock()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp114 BasicBlock *CurBB = StateBB++; in Next() local
118 TerminatorInst *TI = CurBB->getTerminator(); in Next()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1900 BasicBlock *CurBB = 0; in ParseFunctionBody() local
1957 CurBB = FunctionBBs[0]; in ParseFunctionBody()
1966 if (CurBB && !CurBB->empty()) in ParseFunctionBody()
1967 I = &CurBB->back(); in ParseFunctionBody()
1979 if (CurBB && !CurBB->empty()) in ParseFunctionBody()
1980 I = &CurBB->back(); in ParseFunctionBody()
2681 if (CurBB == 0) { in ParseFunctionBody()
2685 CurBB->getInstList().push_back(I); in ParseFunctionBody()
2690 CurBB = CurBBNo < FunctionBBs.size() ? FunctionBBs[CurBBNo] : 0; in ParseFunctionBody()
/external/llvm/lib/VMCore/
DValue.cpp460 Value *Value::DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
463 if (PN && PN->getParent() == CurBB) in DoPHITranslation()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp711 BasicBlock *PrevBB = SF.CurBB; // Remember where we came from... in SwitchToNewBasicBlock()
712 SF.CurBB = Dest; // Update CurBB to branch destination in SwitchToNewBasicBlock()
713 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... in SwitchToNewBasicBlock()
731 SF.CurInst = SF.CurBB->begin(); in SwitchToNewBasicBlock()
1308 StackFrame.CurBB = F->begin(); in callFunction()
1309 StackFrame.CurInst = StackFrame.CurBB->begin(); in callFunction()
DInterpreter.h72 BasicBlock *CurBB; // The currently executing BB member
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h402 MachineBasicBlock *FBB, MachineBasicBlock *CurBB,
406 MachineBasicBlock *CurBB,
DSelectionDAGBuilder.cpp1347 MachineBasicBlock *CurBB, in EmitBranchForMergedCondition() argument
1349 const BasicBlock *BB = CurBB->getBasicBlock(); in EmitBranchForMergedCondition()
1357 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1373 BOp->getOperand(1), NULL, TBB, FBB, CurBB); in EmitBranchForMergedCondition()
1381 NULL, TBB, FBB, CurBB); in EmitBranchForMergedCondition()
1389 MachineBasicBlock *CurBB, in FindMergedConditions() argument
1396 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
1397 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions()
1398 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) { in FindMergedConditions()
1399 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB); in FindMergedConditions()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2835 BasicBlock *CurBB = F->begin(); in EvaluateFunction() local
2837 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction()
2847 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction()
2866 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction()
2869 CurBB = NextBB; in EvaluateFunction()