/external/swiftshader/third_party/subzero/src/ |
D | IceSwitchLowering.cpp | 26 const SizeT NumCases = Instr->getNumCases(); in clusterizeSwitch() local 28 CaseClusters.reserve(NumCases); in clusterizeSwitch() 31 CaseClusters.reserve(NumCases); in clusterizeSwitch() 32 for (SizeT I = 0; I < NumCases; ++I) in clusterizeSwitch() 70 if (NumCases * 2 <= Range) in clusterizeSwitch()
|
D | IceInst.cpp | 506 InstSwitch::InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, in InstSwitch() argument 509 NumCases(NumCases) { in InstSwitch() 511 Values = Func->allocateArrayOf<uint64_t>(NumCases); in InstSwitch() 512 Labels = Func->allocateArrayOf<CfgNode *>(NumCases); in InstSwitch() 514 for (SizeT I = 0; I < NumCases; ++I) { in InstSwitch() 521 assert(CaseIndex < NumCases); in addBranch() 528 OutEdges.reserve(NumCases + 1); in getTerminatorEdges() 531 for (SizeT I = 0; I < NumCases; ++I) { in getTerminatorEdges() 550 for (SizeT I = 0; I < NumCases; ++I) { in repointEdges()
|
D | IceInst.h | 774 static InstSwitch *create(Cfg *Func, SizeT NumCases, Operand *Source, in create() argument 777 InstSwitch(Func, NumCases, Source, LabelDefault); in create() 781 SizeT getNumCases() const { return NumCases; } in getNumCases() 783 assert(I < NumCases); in getValue() 787 assert(I < NumCases); in getLabel() 798 InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, CfgNode *LabelDefault); 806 SizeT NumCases; /// not including the default case variable
|
D | IceConverter.cpp | 540 unsigned NumCases = Instr->getNumCases(); in convertSwitchInstruction() local 542 Ice::InstSwitch::create(Func.get(), NumCases, Source, LabelDefault); in convertSwitchInstruction()
|
D | PNaClTranslator.cpp | 2502 uint32_t NumCases = NumCasesRaw; in ProcessRecord() local 2505 if (!isValidRecordSize(4 + NumCases * 4, "switch")) in ProcessRecord() 2508 Ice::InstSwitch::create(Func.get(), NumCases, Cond, DefaultLabel)); in ProcessRecord() 2510 for (uint32_t CaseIndex = 0; CaseIndex < NumCases; in ProcessRecord()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 189 size_t NumCases, uint64_t *Cases, dfsan_label L); 196 size_t NumCases, uint64_t *Cases); 358 uint64_t Val, size_t NumCases, in DFSanSwitchCallback() argument 366 for (size_t i = 0; i < NumCases; i++) in DFSanSwitchCallback() 370 for (size_t i = 0; i < NumCases; i++) in DFSanSwitchCallback() 375 for (size_t i = 0; i < NumCases; i++) in DFSanSwitchCallback() 381 PC, Val, ValSize, NumCases, L, LR.Beg, LR.End, TryShort); in DFSanSwitchCallback() 458 uint64_t Val, size_t NumCases, in TraceSwitchCallback() argument 463 for (size_t i = 0; i < NumCases; i++) in TraceSwitchCallback() 467 Printf("TraceSwitch: %p %zd # %zd; TryShort %d\n", PC, Val, NumCases, in TraceSwitchCallback() [all …]
|
/external/libcxx/test/libcxx/utilities/function.objects/unord.hash/ |
D | murmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp | 38 const size_t NumCases = sizeof(TestCases)/sizeof(TestCases[0]); in main() local 39 for (size_t i=0; i < NumCases; ++i) in main()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 271 unsigned NumCases; in EmitMatcher() local 274 NumCases = SOM->getNumCases(); in EmitMatcher() 277 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher() 281 OS << "/*" << NumCases << " cases */"; in EmitMatcher() 286 for (unsigned i = 0, e = NumCases; i != e; ++i) { in EmitMatcher()
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 302 unsigned NumCases; in EmitMatcher() local 305 NumCases = SOM->getNumCases(); in EmitMatcher() 308 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher() 312 OS << "/*" << NumCases << " cases */"; in EmitMatcher() 317 for (unsigned i = 0, e = NumCases; i != e; ++i) { in EmitMatcher()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 3112 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3116 init(Value, Default, 2+NumCases*2); in SwitchInst() 3123 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3127 init(Value, Default, 2+NumCases*2); in SwitchInst() 3242 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3246 init(Address, NumCases); in IndirectBrInst() 3249 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3253 init(Address, NumCases); in IndirectBrInst()
|
D | AsmWriter.cpp | 1714 unsigned NumCases = SI.getNumCases(); in printInstruction() local 1715 for (unsigned i = 1; i < NumCases; ++i) { in printInstruction()
|
D | Core.cpp | 1771 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument 1772 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instructions.h | 2422 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2429 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2435 unsigned NumCases, Instruction *InsertBefore = 0) { 2436 return new SwitchInst(Value, Default, NumCases, InsertBefore); 2439 unsigned NumCases, BasicBlock *InsertAtEnd) { 2440 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3703 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3707 init(Value, Default, 2+NumCases*2); in SwitchInst() 3714 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3718 init(Value, Default, 2+NumCases*2); in SwitchInst() 3820 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3824 init(Address, NumCases); in IndirectBrInst() 3827 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3831 init(Address, NumCases); in IndirectBrInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 612 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local 613 if (LoopCond && NumCases) { in processCurrentLoop()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1541 unsigned NumCases = 0; in EmitSwitchStmt() local 1547 NumCases += 1; in EmitSwitchStmt() 1550 SwitchWeights->reserve(NumCases); in EmitSwitchStmt()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 3002 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 3009 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 3134 unsigned NumCases, 3136 return new SwitchInst(Value, Default, NumCases, InsertBefore); 3139 unsigned NumCases, BasicBlock *InsertAtEnd) { 3140 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
|
D | IRBuilder.h | 687 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10, 690 return Insert(addBranchMetadata(SwitchInst::Create(V, Dest, NumCases),
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 671 unsigned NumCases = I.getNumCases(); in visitSwitchInst() local 673 for (unsigned i = 1; i < NumCases; ++i) { in visitSwitchInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1238 unsigned NumCases = SI.getNumCases(); in visitSwitchInst() local 1240 for (unsigned i = 1; i < NumCases; ++i) { in visitSwitchInst()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | IRBuilder.h | 439 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10) { 440 return Insert(SwitchInst::Create(V, Dest, NumCases));
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2425 unsigned NumCases = (Record.size()-3)/2; in ParseFunctionBody() local 2426 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 2428 for (unsigned i = 0, e = NumCases; i != e; ++i) { in ParseFunctionBody()
|
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1065 unsigned NumCases = SI->getNumCases(); in printInstruction() local 1066 for (unsigned i = 1; i < NumCases; ++i) { in printInstruction()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4991 unsigned NumCases = Record[4]; in parseFunctionBody() local 4993 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in parseFunctionBody() 4997 for (unsigned i = 0; i != NumCases; ++i) { in parseFunctionBody() 5046 unsigned NumCases = (Record.size()-3)/2; in parseFunctionBody() local 5047 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in parseFunctionBody() 5049 for (unsigned i = 0, e = NumCases; i != e; ++i) { in parseFunctionBody()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2465 Constant *NumCases = ConstantInt::get(Offset->getType(), SI->getNumCases()-1); in TurnSwitchRangeIntoICmp() local 2470 Value *Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch"); in TurnSwitchRangeIntoICmp()
|