Home
last modified time | relevance | path

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

/external/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp73 SkAssertResult(ConstantFolder::GetConstantInt(*valueExpr, &intValue)); in find_duplicate_case_values()
201 if (!ConstantFolder::GetConstantInt(*caseValue, &intValue)) { in Convert()
256 if (ConstantFolder::GetConstantInt(*value, &switchValue)) { in Make()
267 SkAssertResult(ConstantFolder::GetConstantInt(*sc.value(), &caseValue)); in Make()
/external/skia/src/sksl/
DSkSLConstantFolder.h32 static bool GetConstantInt(const Expression& value, SKSL_INT* out);
DSkSLConstantFolder.cpp138 bool ConstantFolder::GetConstantInt(const Expression& value, SKSL_INT* out) { in GetConstantInt() function in SkSL::ConstantFolder
DSkSLIRGenerator.cpp1198 if (!ConstantFolder::GetConstantInt(*value, &currentValue)) { in convertEnum()
/external/llvm-project/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp869 auto GetConstantInt = [](Value *V) { in calcZeroHeuristics() local
876 ConstantInt *CV = GetConstantInt(RHS); in calcZeroHeuristics()
884 if (ConstantInt *AndRHS = GetConstantInt(LHS->getOperand(1))) in calcZeroHeuristics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp693 auto GetConstantInt = [](Value *V) { in calcZeroHeuristics() local
700 ConstantInt *CV = GetConstantInt(RHS); in calcZeroHeuristics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp410 static ConstantInt *GetConstantInt(Value *V, const DataLayout &DL) { in GetConstantInt() function
496 (C = GetConstantInt(I->getOperand(1), DL)))) { in matchInstruction()
710 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL)) in isValueEqualityComparison()
741 GetConstantInt(ICI->getOperand(1), DL), Succ)); in GetValueEqualityComparisonCases()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp360 static ConstantInt *GetConstantInt(Value *V, const DataLayout &DL) { in GetConstantInt() function
440 (C = GetConstantInt(I->getOperand(1), DL)))) { in matchInstruction()
656 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL)) in isValueEqualityComparison()
688 GetConstantInt(ICI->getOperand(1), DL), Succ)); in GetValueEqualityComparisonCases()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp453 static ConstantInt *GetConstantInt(Value *V, const DataLayout &DL) { in GetConstantInt() function
539 (C = GetConstantInt(I->getOperand(1), DL)))) { in matchInstruction()
753 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL)) in isValueEqualityComparison()
784 GetConstantInt(ICI->getOperand(1), DL), Succ)); in GetValueEqualityComparisonCases()