Home
last modified time | relevance | path

Searched refs:DefaultDest (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallBrPrepare.cpp189 BasicBlock *DefaultDest = CBR->getDefaultDest(); in UpdateSSA() local
199 PrintDebugDomInfo(DT, *U, DefaultDest, /*IsDefaultDest*/ true); in UpdateSSA()
215 if (DT.dominates(DefaultDest, *U)) in UpdateSSA()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp403 BasicBlock *DefaultDest = SI->getDefaultDest(); in processSwitch() local
405 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg())) { in processSwitch()
412 BB->getParent(), DefaultDest); in processSwitch()
415 DefaultDest->removePredecessor(BB); in processSwitch()
418 if (SuccessorsCount[DefaultDest] == 1) in processSwitch()
419 DTU.applyUpdates({{DominatorTree::Delete, BB, DefaultDest}}); in processSwitch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp321 BasicBlock *DefaultDest = SI->getDefaultDest(); in removeNonFeasibleEdges() local
322 if (!FeasibleSuccessors.contains(DefaultDest)) { in removeNonFeasibleEdges()
325 BasicBlock::Create(DefaultDest->getContext(), "default.unreachable", in removeNonFeasibleEdges()
326 DefaultDest->getParent(), DefaultDest); in removeNonFeasibleEdges()
327 new UnreachableInst(DefaultDest->getContext(), NewUnreachableBB); in removeNonFeasibleEdges()
330 DefaultDest->removePredecessor(BB); in removeNonFeasibleEdges()
332 Updates.push_back({DominatorTree::Delete, BB, DefaultDest}); in removeNonFeasibleEdges()
H A DLocal.cpp196 BasicBlock *DefaultDest = SI->getDefaultDest(); in ConstantFoldTerminator() local
197 BasicBlock *TheOnlyDest = DefaultDest; in ConstantFoldTerminator()
200 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
217 if (It->getCaseSuccessor() == DefaultDest) { in ConstantFoldTerminator()
238 DefaultDest->removePredecessor(ParentBB); in ConstantFoldTerminator()
H A DSimplifyCFG.cpp6037 BasicBlock *DefaultDest = SI->getDefaultDest(); in initializeUniqueCases() local
6045 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in initializeUniqueCases()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3738 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3744 void init(FunctionType *FTy, Value *Func, BasicBlock *DefaultDest,
3764 BasicBlock *DefaultDest,
3770 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt,
3775 Create(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3784 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, Bundles,
3788 static CallBrInst *Create(FunctionCallee Func, BasicBlock *DefaultDest,
3792 return Create(Func.getFunctionType(), Func.getCallee(), DefaultDest,
3796 static CallBrInst *Create(FunctionCallee Func, BasicBlock *DefaultDest,
3802 return Create(Func.getFunctionType(), Func.getCallee(), DefaultDest,
[all …]
H A DIRBuilder.h1203 BasicBlock *DefaultDest,
1207 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests,
1211 BasicBlock *DefaultDest,
1217 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args,
1221 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
1226 DefaultDest, IndirectDests, Args, Name);
1228 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
1234 DefaultDest, IndirectDests, Args, Name);
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4181 LLVMBasicBlockRef DefaultDest,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp3369 LLVMBasicBlockRef DefaultDest, in LLVMBuildCallBr() argument
3382 unwrap<FunctionType>(Ty), unwrap(Fn), unwrap(DefaultDest), in LLVMBuildCallBr()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7594 BasicBlock *DefaultDest; in parseCallBr() local
7602 parseTypeAndBasicBlock(DefaultDest, PFS) || in parseCallBr()
7671 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args, in parseCallBr()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5830 BasicBlock *DefaultDest = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local
5954 I = CallBrInst::Create(FTy, Callee, DefaultDest, IndirectDests, Args, in parseFunctionBody()