Home
last modified time | relevance | path

Searched refs:CreateSwitch (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp137 SwitchInst *SI = IRB.CreateSwitch(&CallSiteTypeId, TrapBB, TypeIds.size()); in buildCFICheck()
/llvm-project-15.0.7/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1000 llvm::SwitchInst *theSwitch = builder.CreateSwitch(builder.CreateLoad( in createFinallyBlock()
1306 llvm::SwitchInst *switchToCatchBlock = builder.CreateSwitch(retTypeInfoIndex, in createCatchWrappedInvokeFunction()
1403 llvm::SwitchInst *theSwitch = builder.CreateSwitch(exceptionType, in createThrowExceptionFunction()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DCFGBuilder.cpp47 IRB.CreateSwitch(ConstantInt::get(IntTy, 0), To); in ConnectBlocks()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp392 SwitchInst *SI = IRB.CreateSwitch(SizeVar, DefaultBB, SizeIds.size()); in perform()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGAtomic.cpp471 llvm::SwitchInst *SI = CGF.Builder.CreateSwitch(FailureOrderVal, MonotonicBB); in emitAtomicCmpXchgFailureSet()
560 llvm::SwitchInst *SI = CGF.Builder.CreateSwitch(IsWeak, WeakBB); in EmitAtomicOp()
762 llvm::SwitchInst *SI = Builder.CreateSwitch(SC, BB[FallBack]); in EmitAtomicOp()
1418 llvm::SwitchInst *SI = Builder.CreateSwitch(Order, MonotonicBB); in EmitAtomicExpr()
H A DCGCoroutine.cpp218 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
H A DCGStmt.cpp1979 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
H A DCGOpenMPRuntime.cpp168 UntiedSwitch = CGF.Builder.CreateSwitch(Res, DoneBB); in Enter()
5564 CGF.Builder.CreateSwitch(Res, DefaultBB, /*NumCases=*/2); in emitReduction()
H A DCGBuiltin.cpp4045 llvm::SwitchInst *SI = Builder.CreateSwitch(Order, BBs[0]); in EmitBuiltinExpr()
4109 llvm::SwitchInst *SI = Builder.CreateSwitch(Order, BBs[0]); in EmitBuiltinExpr()
4168 llvm::SwitchInst *SI = Builder.CreateSwitch(Order, ContBB); in EmitBuiltinExpr()
H A DCGStmtOpenMP.cpp3967 CGF.Builder.CreateSwitch(CGF.EmitLoadOfScalar(IV, S.getBeginLoc()), in EmitSections()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp359 Builder.CreateSwitch(Builder.getInt32(0), NewPreheader); in handleDeadExits()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp447 llvm::SwitchInst *switchInst = builder.CreateSwitch( in convertOperationImpl()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1634 SwitchInst *SI = IRB.CreateSwitch(Label, Tail, SetjmpRetPHIs.size()); in handleLongjmpableCallsForEmscriptenSjLj()
1777 SwitchInst *SI = IRB.CreateSwitch(LabelPHI, OrigEntry, SetjmpRetPHIs.size()); in handleLongjmpableCallsForWasmSjLj()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp468 auto *Switch = Builder.CreateSwitch(Flags, IfEndBB); in createRegisterGlobalsFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp382 Builder.CreateSwitch(Index, UnreachBB, Shape.CoroSuspends.size()); in createResumeEntryBlock()
H A DCoroFrame.cpp1881 auto *SwitchOnDispatch = Builder.CreateSwitch(SetDispatchValuePN, UnreachBB, in rewritePHIsForCleanupPad()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1542 SwitchInst *SwitchStmt = Builder.CreateSwitch(IndVar, Continue); in createSections()
1714 Builder.CreateSwitch(ReduceCall, ContinuationBlock, /* NumCases */ 2); in createReductions()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp1328 SwitchInst *NewSI = Builder.CreateSwitch(CV, PredDefault, PredCases.size()); in PerformValueComparisonIntoPredecessorFolding()
4621 SwitchInst *New = Builder.CreateSwitch(CompVal, DefaultBB, Values.size()); in SimplifyBranchOnICmpChain()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h1013 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10,
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dir.go1366 func (b Builder) CreateSwitch(v Value, elseb BasicBlock, numCases int) (rv Value) { func
/llvm-project-15.0.7/llvm/lib/IR/
H A DCore.cpp3158 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli2059 See the method [llvm::LLVMBuilder::CreateSwitch]. *)