Searched defs:CurBB (Results 1 - 12 of 12) sorted by relevance

/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
157 if (Inst->getParent() != CurBB) {
191 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
244 GEPI->getParent()->getParent() == CurBB->getParent() &&
267 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
302 BO->getParent()->getParent() == CurBB->getParent() &&
316 /// CurBB to Pred, updating our state to reflect any needed changes. If the
319 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBloc argument
343 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
367 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument
399 BasicBlock *CurBB = GEP->getParent(); local
[all...]
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h72 BasicBlock *CurBB; // The currently executing BB member in struct:llvm::ExecutionContext
/external/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp386 BasicBlock *CurBB = IPI->first->getParent(); local
387 if (NewBB == CurBB) {
399 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB);
405 // By construction, the CommonDominator cannot be CurBB.
406 assert(CommonDominator != CurBB &&
/external/llvm/lib/CodeGen/
H A DShadowStackGC.cpp115 BasicBlock *CurBB = StateBB++; local
119 TerminatorInst *TI = CurBB->getTerminator();
/external/llvm/lib/IR/
H A DValue.cpp557 /// DoPHITranslation - If this value is a PHI node with CurBB as its parent,
561 Value *Value::DoPHITranslation(const BasicBlock *CurBB, argument
564 if (PN && PN->getParent() == CurBB)
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectDisassembler.cpp245 BBInfo &CurBB = BBInfos[TA->getBeginAddr()]; local
250 CurBB.addSucc(BBInfos[Target]);
252 CurBB.addSucc(BBInfos[LI.Address + LI.Size]);
254 CurBB.addSucc(BBInfos[LI.Address + LI.Size]);
/external/llvm/include/llvm/IR/
H A DValue.h435 /// DoPHITranslation - If this value is a PHI node with CurBB as its parent,
439 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
441 const Value *DoPHITranslation(const BasicBlock *CurBB, argument
443 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB);
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp824 BasicBlock *CurBB = RI->getParent(); local
831 IRBuilder<> Builder(CurBB);
/external/clang/lib/CodeGen/
H A DCGStmt.cpp302 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
314 if (CurBB && CurBB->getParent())
315 CurFn->getBasicBlockList().insertAfter(CurBB, BB);
325 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
327 if (!CurBB || CurBB->getTerminator()) {
462 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
469 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB);
H A DCodeGenFunction.cpp145 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local
147 if (CurBB) {
148 assert(!CurBB->getTerminator() && "Unexpected terminated block.");
152 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) {
153 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2258 BasicBlock *CurBB = nullptr; local
2319 CurBB = FunctionBBs[0];
2328 if (CurBB && !CurBB->empty())
2329 I = &CurBB->back();
2342 if (CurBB && !CurBB->empty())
2343 I = &CurBB->back();
2424 CurBB->getInstList().push_back(Temp);
3000 CurBB
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2641 // CurBB - The current basic block we're evaluating.
2642 BasicBlock *CurBB = F->begin(); local
2644 BasicBlock::iterator CurInst = CurBB->begin();
2648 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n");
2656 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator());
2675 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB)));
2678 CurBB = NextBB;

Completed in 2296 milliseconds