/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | PHITransAddr.h | 78 /// CurBB to Pred, updating our state to reflect any needed changes. If 81 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, 91 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 103 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 107 /// version of 'V' for the edge PredBB->CurBB into the end of the PredBB 111 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | PHITransAddr.cpp | 115 // If the input value is not an instruction, or if it is not defined in CurBB, 143 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, argument 155 if (Inst->getParent() != CurBB) { 189 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); 218 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); 243 GEPI->getParent()->getParent() == CurBB->getParent() && 260 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); 295 BO->getParent()->getParent() == CurBB->getParent() && 309 /// CurBB to Pred, updating our state to reflect any needed changes. If 312 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBloc argument 341 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument 365 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts) argument 398 BasicBlock *CurBB = GEP->getParent(); local [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | EscapeEnumerator.cpp | 36 BasicBlock *CurBB = &*StateBB++; local 40 Instruction *TI = CurBB->getTerminator(); 44 if (CallInst *CI = CurBB->getTerminatingMustTailCall())
|
H A D | Evaluator.cpp | 709 // CurBB - The current basic block we're evaluating. 710 BasicBlock *CurBB = &F->front(); local 712 BasicBlock::iterator CurInst = CurBB->begin(); 716 LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); 726 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); 755 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); 758 CurBB = NextBB;
|
H A D | InlineFunction.cpp | 2370 auto *CurBB = RI->getParent(); local 2382 IRBuilder<> Builder(CurBB); 2420 BasicBlock *CurBB = RI->getParent(); local 2427 IRBuilder<> Builder(CurBB);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.cpp | 442 unsigned CurBB; 528 CurBB = NewCurBB; 530 Location.Value = {CurBB, 0, Location.Idx}; 536 CurBB = NewCurBB; 579 ValueIDNum ValNum = {CurBB, 0, NewIdx}; 584 ValNum = {CurBB, MaskPair.second, NewIdx}; 644 void writeRegMask(const MachineOperand *MO, unsigned CurBB, unsigned InstID) { 655 defReg(ID, CurBB, InstID); 1341 unsigned CurBB; 1741 if (!FoundLoc && NewID && NewID->getBlock() == CurBB [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | MachineSink.cpp | 1574 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, 1593 for (auto *SI : CurBB.successors()) { 1601 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, 1608 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefReg, TRI); 1616 static void clearKillFlags(MachineInstr *MI, MachineBasicBlock &CurBB, 1625 for (MachineInstr &UI : make_range(NI, CurBB.end())) { 1698 bool PostRAMachineSinking::tryToSinkCopy(MachineBasicBlock &CurBB, 1706 for (MachineBasicBlock *SI : CurBB.successors()) 1721 for (auto I = CurBB.rbegin(), E = CurBB [all...] |
H A D | PrologEpilogInserter.cpp | 493 const MachineBasicBlock *CurBB = WorkList.pop_back_val(); local 496 if (CurBB == Save && Save != Restore) 500 for (MachineBasicBlock *SuccBB : CurBB->successors())
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64PromoteConstant.cpp | 420 BasicBlock *CurBB = IPI->first->getParent(); 421 if (NewBB == CurBB) { 433 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); 439 // By construction, the CommonDominator cannot be CurBB. 440 assert(CommonDominator != CurBB &&
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeExecMaskingPreRA.cpp | 357 auto CurBB = Blocks.pop_back_val(); local 358 auto I = CurBB->rbegin(), E = CurBB->rend(); 396 for (auto *Pred : CurBB->predecessors()) {
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 61 BasicBlock *CurBB; // The currently executing BB member in struct:llvm::ExecutionContext 69 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {}
|
H A D | Execution.cpp | 986 BasicBlock *PrevBB = SF.CurBB; // Remember where we came from... 987 SF.CurBB = Dest; // Update CurBB to branch destination 988 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... 1006 SF.CurInst = SF.CurBB->begin(); 2137 StackFrame.CurBB = &F->front(); 2138 StackFrame.CurInst = StackFrame.CurBB->begin();
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | GuardWidening.cpp | 343 auto *CurBB = DFSI.getPath(i)->getBlock(); local 344 if (!BlockFilter(CurBB)) 346 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!"); 347 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second; 350 auto E = Instr->getParent() == CurBB ? find(GuardsInCurBB, Instr) 356 for (auto &I : *CurBB) { 367 assert((i == (e - 1)) == (Instr->getParent() == CurBB) && "Bad DFS?");
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Value.h | 781 /// If this value is a PHI node with CurBB as its parent, return the value in 785 const Value *DoPHITranslation(const BasicBlock *CurBB, 787 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB) { argument 789 static_cast<const Value *>(this)->DoPHITranslation(CurBB, PredBB));
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 366 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, 380 BOp->getOperand(1), nullptr, TBB, FBB, CurBB, 390 nullptr, TBB, FBB, CurBB, CurBuilder->getDebugLoc(), TProb, FProb); 402 MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, 412 isValInBlock(NotCond, CurBB->getBasicBlock())) { 413 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, 443 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || 444 !isValInBlock(BOpOp0, CurBB->getBasicBlock()) || 445 !isValInBlock(BOpOp1, CurBB->getBasicBlock())) { 446 emitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchB 364 emitBranchForMergedCondition( const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument 400 findMergedConditions( const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, Instruction::BinaryOps Opc, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument 1244 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); local [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 523 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local 535 if (CurBB && CurBB->getParent()) 536 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); 546 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local 548 if (!CurBB || CurBB->getTerminator()) { 696 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local 703 cast<llvm::PHINode>(IndGotoBB->begin())->addIncoming(V, CurBB);
|
H A D | CodeGenFunction.cpp | 285 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); local 287 if (CurBB) { 288 assert(!CurBB->getTerminator() && "Unexpected terminated block."); 292 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) { 293 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB);
|
H A D | CGAtomic.cpp | 1858 auto *CurBB = CGF.Builder.GetInsertBlock(); local 1862 PHI->addIncoming(OldVal, CurBB); 1940 auto *CurBB = CGF.Builder.GetInsertBlock(); local 1944 PHI->addIncoming(OldVal, CurBB);
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | IRTranslator.h | 326 MachineBasicBlock *CurBB, 333 MachineBasicBlock *FBB, MachineBasicBlock *CurBB,
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Value.cpp | 944 const Value *Value::DoPHITranslation(const BasicBlock *CurBB, argument 947 if (PN && PN->getParent() == CurBB)
|
H A D | Core.cpp | 2701 BasicBlock *CurBB = unwrap(Builder)->GetInsertBlock(); 2702 assert(CurBB && "current insertion point is invalid!"); 2703 CurBB->getParent()->getBasicBlockList().insertAfter(CurBB->getIterator(),
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 541 MachineBasicBlock *FBB, MachineBasicBlock *CurBB, 547 MachineBasicBlock *CurBB,
|
H A D | SelectionDAGBuilder.cpp | 2136 MachineBasicBlock *CurBB, 2141 const BasicBlock *BB = CurBB->getBasicBlock(); 2149 if (CurBB == SwitchBB || 2167 TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); 2176 nullptr, TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); 2183 MachineBasicBlock *CurBB, 2193 InBlock(NotCond, CurBB->getBasicBlock())) { 2194 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, 2224 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || 2225 !InBlock(BOpOp0, CurBB 2133 EmitBranchForMergedCondition(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument 2180 FindMergedConditions(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, Instruction::BinaryOps Opc, BranchProbability TProb, BranchProbability FProb, bool InvertCond) argument 4353 getUniformBase(const Value *Ptr, SDValue &Base, SDValue &Index, ISD::MemIndexType &IndexType, SDValue &Scale, SelectionDAGBuilder *SDB, const BasicBlock *CurBB) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 3909 BasicBlock *CurBB = nullptr; local 3914 if (CurBB && !CurBB->empty()) 3915 return &CurBB->back(); 4017 CurBB = FunctionBBs[0]; 4134 assert(CurBB && "No current BB?"); 4135 CurBB->getInstList().push_back(Temp); 5162 CurBB->getInstList().push_back(I); 5451 if (!CurBB) { 5459 CurBB [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 2462 // CurBB 2467 BasicBlock *CurBB = Builder.GetInsertBlock(); local 2468 Instruction *CurBBTI = CurBB->getTerminator(); 2471 CurBB->splitBasicBlock(CurBBTI, X->getName() + ".atomic.exit"); 2472 BasicBlock *ContBB = CurBB->splitBasicBlock(CurBB->getTerminator(), 2477 PHI->addIncoming(OldVal, CurBB);
|