Home
last modified time | relevance | path

Searched refs:addCase (Results 1 – 15 of 15) sorted by relevance

/external/clang/lib/CodeGen/
DCGAtomic.cpp679 SI->addCase(Builder.getInt32(1), AcquireBB); in EmitAtomicExpr()
680 SI->addCase(Builder.getInt32(2), AcquireBB); in EmitAtomicExpr()
687 SI->addCase(Builder.getInt32(3), ReleaseBB); in EmitAtomicExpr()
694 SI->addCase(Builder.getInt32(4), AcqRelBB); in EmitAtomicExpr()
700 SI->addCase(Builder.getInt32(5), SeqCstBB); in EmitAtomicExpr()
DCGCleanup.cpp306 Switch->addCase(CGF.Builder.getInt32(Fixup.DestinationIndex), in ResolveAllBranchFixups()
366 Switch->addCase(Builder.getInt32(Fixup.DestinationIndex), Block); in ResolveBranchFixups()
772 Switch->addCase(Builder.getInt32(0), FallthroughDest); in PopCleanupBlock()
776 Switch->addCase(Scope.getBranchAfterIndex(I), in PopCleanupBlock()
DCGBuiltin.cpp1142 SI->addCase(Builder.getInt32(0), BBs[0]); in EmitBuiltinExpr()
1143 SI->addCase(Builder.getInt32(1), BBs[1]); in EmitBuiltinExpr()
1144 SI->addCase(Builder.getInt32(2), BBs[1]); in EmitBuiltinExpr()
1145 SI->addCase(Builder.getInt32(3), BBs[2]); in EmitBuiltinExpr()
1146 SI->addCase(Builder.getInt32(4), BBs[3]); in EmitBuiltinExpr()
1147 SI->addCase(Builder.getInt32(5), BBs[4]); in EmitBuiltinExpr()
1204 SI->addCase(Builder.getInt32(0), BBs[0]); in EmitBuiltinExpr()
1205 SI->addCase(Builder.getInt32(3), BBs[1]); in EmitBuiltinExpr()
1206 SI->addCase(Builder.getInt32(5), BBs[2]); in EmitBuiltinExpr()
1259 SI->addCase(Builder.getInt32(1), AcquireBB); in EmitBuiltinExpr()
[all …]
DCGStmt.cpp925 SwitchInsn->addCase(Builder.getInt(LHS), CaseDest); in EmitCaseStmtRange()
986 SwitchInsn->addCase(CaseVal, Block.getBlock()); in EmitCaseStmt()
1000 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
1019 SwitchInsn->addCase(CaseVal, CaseDest); in EmitCaseStmt()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1054 theSwitch->addCase(ourExceptionCaughtState, &terminatorBlock); in createFinallyBlock()
1055 theSwitch->addCase(ourExceptionThrownState, &unwindResumeBlock); in createFinallyBlock()
1366 switchToCatchBlock->addCase(llvm::ConstantInt::get( in createCatchWrappedInvokeFunction()
1461 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction()
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp236 CatchSwitch->addCase(InvokeNoC, II->getUnwindDest()); in rewriteExpensiveInvoke()
DCodeExtractor.cpp557 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context), in emitCallAndSwitchStatement()
DSimplifyCFG.cpp936 NewSI->addCase(PredCases[i].Value, PredCases[i].Dest); in FoldValueComparisonIntoPredecessors()
2694 SI->addCase(Cst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
2799 New->addCase(Values[i], EdgeBB); in SimplifyBranchOnICmpChain()
/external/clang/lib/Analysis/
DCFG.cpp2730 bool addCase = false; in shouldAddCase() local
2739 addCase = true; in shouldAddCase()
2747 addCase = true; in shouldAddCase()
2754 addCase = true; in shouldAddCase()
2756 return addCase; in shouldAddCase()
/external/llvm/lib/IR/
DInstructions.cpp3281 void SwitchInst::addCase(ConstantInt *OnVal, BasicBlock *Dest) { in addCase() function in SwitchInst
3288 addCase(CaseRanges, Dest); in addCase()
3291 void SwitchInst::addCase(IntegersSubset& OnVal, BasicBlock *Dest) { in addCase() function in SwitchInst
DCore.cpp1943 unwrap<SwitchInst>(Switch)->addCase(unwrap<ConstantInt>(OnVal), unwrap(Dest)); in LLVMAddCase()
/external/llvm/include/llvm/IR/
DInstructions.h2629 void addCase(ConstantInt *OnVal, BasicBlock *Dest);
2635 void addCase(IntegersSubset& OnVal, BasicBlock *Dest);
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2537 SI->addCase(Case, DestBB); in ParseFunctionBody()
2566 SI->addCase(CaseVal, DestBB); in ParseFunctionBody()
/external/llvm/lib/AsmParser/
DLLParser.cpp3477 SI->addCase(Table[i].first, Table[i].second); in ParseSwitch()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1770 See the method [llvm::SwitchInst::addCase]. **)