/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 277 unsigned NumCases; in EmitMatcher() local 280 NumCases = SOM->getNumCases(); in EmitMatcher() 283 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher() 287 OS << "/*" << NumCases << " cases */"; in EmitMatcher() 292 for (unsigned i = 0, e = NumCases; i != e; ++i) { in EmitMatcher()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3357 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3361 init(Value, Default, 2+NumCases*2); in SwitchInst() 3368 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3372 init(Value, Default, 2+NumCases*2); in SwitchInst() 3488 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3492 init(Address, NumCases); in IndirectBrInst() 3495 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3499 init(Address, NumCases); in IndirectBrInst()
|
D | Core.cpp | 2047 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument 2048 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 2562 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2569 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2694 unsigned NumCases, 2696 return new SwitchInst(Value, Default, NumCases, InsertBefore); 2699 unsigned NumCases, BasicBlock *InsertAtEnd) { 2700 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
|
D | IRBuilder.h | 558 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10, 560 return Insert(addBranchWeights(SwitchInst::Create(V, Dest, NumCases),
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 450 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local 451 if (LoopCond && NumCases) { in processCurrentLoop()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2659 unsigned NumCases = Record[4]; in ParseFunctionBody() local 2661 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 2665 for (unsigned i = 0; i != NumCases; ++i) { in ParseFunctionBody() 2715 unsigned NumCases = (Record.size()-3)/2; in ParseFunctionBody() local 2716 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 2718 for (unsigned i = 0, e = NumCases; i != e; ++i) { in ParseFunctionBody()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1529 unsigned NumCases = 0; in EmitSwitchStmt() local 1535 NumCases += 1; in EmitSwitchStmt() 1538 SwitchWeights->reserve(NumCases); in EmitSwitchStmt()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3165 Constant *NumCases = ConstantInt::get(Offset->getType(), SI->getNumCases()); in TurnSwitchRangeIntoICmp() local 3172 if (NumCases->isNullValue() && SI->getNumCases() != 0) in TurnSwitchRangeIntoICmp() 3175 Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch"); in TurnSwitchRangeIntoICmp()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 2525 LLVMBasicBlockRef Else, unsigned NumCases);
|