Home
last modified time | relevance | path

Searched refs:CaseVal (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4530 const APInt &CaseVal = Case.getCaseValue()->getValue(); in eliminateDeadSwitchCases() local
4531 if (Known.Zero.intersects(CaseVal) || !Known.One.isSubsetOf(CaseVal) || in eliminateDeadSwitchCases()
4532 (CaseVal.getMinSignedBits() > MaxSignificantBitsInCond)) { in eliminateDeadSwitchCases()
4534 LLVM_DEBUG(dbgs() << "SimplifyCFG: switch case " << CaseVal in eliminateDeadSwitchCases()
4737 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, in GetCaseResults() argument
4747 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in GetCaseResults()
4808 static uintptr_t MapCaseToResult(ConstantInt *CaseVal, in MapCaseToResult() argument
4813 I.second.push_back(CaseVal); in MapCaseToResult()
4818 std::make_pair(Result, SmallVector<ConstantInt *, 4>(1, CaseVal))); in MapCaseToResult()
4833 ConstantInt *CaseVal = I.getCaseValue(); in InitializeUniqueCases() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSwitchLoweringUtils.cpp476 const ConstantInt *CaseVal = CC.Low; in sortAndRangeify() local
480 (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) { in sortAndRangeify()
483 Clusters[DstIndex - 1].High = CaseVal; in sortAndRangeify()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h353 const APInt &CaseVal = CI.getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters() local
354 if (CaseVal.sgt(MaxCaseVal)) in getEstimatedNumberOfCaseClusters()
355 MaxCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
356 if (CaseVal.slt(MinCaseVal)) in getEstimatedNumberOfCaseClusters()
357 MinCaseVal = CaseVal; in getEstimatedNumberOfCaseClusters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1186 ConstantInt *CaseVal = Case.getCaseValue(); in TryTrivialLoopUnswitch() local
1190 if (BranchesInfo.isUnswitched(SI, CaseVal)) in TryTrivialLoopUnswitch()
1193 CondVal = CaseVal; in TryTrivialLoopUnswitch()
DSimpleLoopUnswitch.cpp752 ConstantInt *CaseVal = std::get<0>(ExitCase); in unswitchTrivialSwitch() local
755 NewSIW.addCase(CaseVal, UnswitchedBB, std::get<2>(ExitCase)); in unswitchTrivialSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp446 const ConstantInt *CaseVal = I.getCaseValue(); in translateSwitch() local
450 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp956 GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF); in visitSwitchInst() local
957 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4435 ConstantInt *CaseVal = in parseFunctionBody() local
4438 if (!CaseVal || !DestBB) { in parseFunctionBody()
4442 SI->addCase(CaseVal, DestBB); in parseFunctionBody()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp10559 const ConstantInt *CaseVal = I.getCaseValue(); in visitSwitch() local
10563 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch()