Home
last modified time | relevance | path

Searched refs:GetConstantInt (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/src/sksl/ir/
H A DSkSLSwitchStatement.cpp70 // GetConstantInt already succeeded when the SwitchCase was first assembled, so it should in find_duplicate_case_values()
73 SkAssertResult(ConstantFolder::GetConstantInt(*valueExpr, &intValue)); in find_duplicate_case_values()
195 if (!ConstantFolder::GetConstantInt(*caseValue, &intValue)) { in Convert()
250 if (ConstantFolder::GetConstantInt(*value, &switchValue)) { in Make()
261 SkAssertResult(ConstantFolder::GetConstantInt(*sc.value(), &caseValue)); in Make()
H A DSkSLType.cpp870 if (!ConstantFolder::GetConstantInt(*size, &count)) {
/third_party/skia/src/sksl/
H A DSkSLConstantFolder.h31 static bool GetConstantInt(const Expression& value, SKSL_INT* out);
H A DSkSLConstantFolder.cpp139 bool ConstantFolder::GetConstantInt(const Expression& value, SKSL_INT* out) { in GetConstantInt() function in SkSL::ConstantFolder
H A DSkSLDSLParser.cpp403 if (!ConstantFolder::GetConstantInt(*sizeLiteral, &size)) { in arraySize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp693 auto GetConstantInt = [](Value *V) { in calcZeroHeuristics()
700 ConstantInt *CV = GetConstantInt(RHS); in calcZeroHeuristics()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A 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()

Completed in 16 milliseconds