Home
last modified time | relevance | path

Searched refs:SwInst (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp370 const SwitchInst &SwInst = cast<SwitchInst>(U); in translateSwitch() local
371 const unsigned SwCondValue = getOrCreateVReg(*SwInst.getCondition()); in translateSwitch()
372 const BasicBlock *OrigBB = SwInst.getParent(); in translateSwitch()
375 for (auto &CaseIt : SwInst.cases()) { in translateSwitch()
388 MF->CreateMachineBasicBlock(SwInst.getParent()); in translateSwitch()
397 const BasicBlock *DefaultBB = SwInst.getDefaultDest(); in translateSwitch()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp4458 auto *SwInst = CGF.Builder.CreateSwitch(Res, DefaultBB, /*NumCases=*/2); in emitReduction() local
4467 SwInst->addCase(CGF.Builder.getInt32(1), Case1BB); in emitReduction()
4506 SwInst->addCase(CGF.Builder.getInt32(2), Case2BB); in emitReduction()