/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 277 unsigned NumCases; local 280 NumCases = SOM->getNumCases(); 283 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); 287 OS << "/*" << NumCases << " cases */"; local 292 for (unsigned i = 0, e = NumCases; i != e; ++i) {
|
/external/llvm/lib/IR/ |
H A D | Instructions.cpp | 3357 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, argument 3361 init(Value, Default, 2+NumCases*2); 3368 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, argument 3372 init(Value, Default, 2+NumCases*2); 3488 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, argument 3492 init(Address, NumCases); 3495 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, argument 3499 init(Address, NumCases);
|
H A D | Core.cpp | 2047 LLVMBasicBlockRef Else, unsigned NumCases) { 2048 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); 2046 LLVMBuildSwitch(LLVMBuilderRef B, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnswitch.cpp | 450 unsigned NumCases = SI->getNumCases(); local 451 if (LoopCond && NumCases) {
|
/external/llvm/include/llvm/IR/ |
H A 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); 2693 Create(Value *Value, BasicBlock *Default, unsigned NumCases, Instruction *InsertBefore = nullptr) argument 2698 Create(Value *Value, BasicBlock *Default, unsigned NumCases, BasicBlock *InsertAtEnd) argument
|
H A 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/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2659 unsigned NumCases = Record[4]; local 2661 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); 2665 for (unsigned i = 0; i != NumCases; ++i) { 2715 unsigned NumCases = (Record.size()-3)/2; local 2716 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); 2718 for (unsigned i = 0, e = NumCases; i != e; ++i) {
|
/external/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1529 unsigned NumCases = 0; local 1535 NumCases += 1; 1538 SwitchWeights->reserve(NumCases);
|
/external/llvm/include/llvm-c/ |
H A D | Core.h | 2525 LLVMBasicBlockRef Else, unsigned NumCases);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 3165 Constant *NumCases = ConstantInt::get(Offset->getType(), SI->getNumCases()); local 3171 // If NumCases overflowed, then all possible values jump to the successor. 3172 if (NumCases->isNullValue() && SI->getNumCases() != 0) 3175 Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch");
|