Searched refs:GetConstantInt (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/sksl/ir/ |
D | SkSLSwitchStatement.cpp | 73 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/ |
D | SkSLConstantFolder.h | 32 static bool GetConstantInt(const Expression& value, SKSL_INT* out);
|
D | SkSLConstantFolder.cpp | 138 bool ConstantFolder::GetConstantInt(const Expression& value, SKSL_INT* out) { in GetConstantInt() function in SkSL::ConstantFolder
|
D | SkSLIRGenerator.cpp | 1198 if (!ConstantFolder::GetConstantInt(*value, ¤tValue)) { in convertEnum()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 869 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/ |
D | BranchProbabilityInfo.cpp | 693 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/ |
D | SimplifyCFG.cpp | 410 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/ |
D | SimplifyCFG.cpp | 360 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/ |
D | SimplifyCFG.cpp | 453 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()
|