Home
last modified time | relevance | path

Searched refs:NumCases (Results 1 – 10 of 10) sorted by relevance

/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp277 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/
DInstructions.cpp3357 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()
DCore.cpp2047 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/
DInstructions.h2562 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);
DIRBuilder.h558 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10,
560 return Insert(addBranchWeights(SwitchInst::Create(V, Dest, NumCases),
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp450 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local
451 if (LoopCond && NumCases) { in processCurrentLoop()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2659 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/
DCGStmt.cpp1529 unsigned NumCases = 0; in EmitSwitchStmt() local
1535 NumCases += 1; in EmitSwitchStmt()
1538 SwitchWeights->reserve(NumCases); in EmitSwitchStmt()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3165 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/
DCore.h2525 LLVMBasicBlockRef Else, unsigned NumCases);