Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp73 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()
DSkSLType.cpp870 if (!ConstantFolder::GetConstantInt(*size, &count)) { in convertArraySize()
/third_party/skia/src/sksl/
DSkSLConstantFolder.h31 static bool GetConstantInt(const Expression& value, SKSL_INT* out);
DSkSLConstantFolder.cpp139 bool ConstantFolder::GetConstantInt(const Expression& value, SKSL_INT* out) { in GetConstantInt() function in SkSL::ConstantFolder
DSkSLDSLParser.cpp403 if (!ConstantFolder::GetConstantInt(*sizeLiteral, &size)) { in arraySize()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()