/external/skqp/src/sksl/ir/ |
D | SkSLIntLiteral.h | 19 struct IntLiteral : public Expression { struct 22 IntLiteral(const Context& context, int offset, int64_t value) in IntLiteral() function 26 IntLiteral(int offset, int64_t value, const Type* type = nullptr) 43 IntLiteral& i = (IntLiteral&) other; in compareConstant() argument 59 return std::unique_ptr<Expression>(new IntLiteral(fOffset, fValue, &fType)); in clone() argument
|
D | SkSLConstructor.h | 38 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 45 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 46 return std::unique_ptr<Expression>(new IntLiteral(fOffset, in constantPropagate() 108 const IntLiteral izero(context, -1, 0); in compareConstant()
|
D | SkSLVariableReference.cpp | 59 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in copy_constant() 61 ((IntLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLSwizzle.h | 112 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in constantPropagate()
|
D | SkSLProgram.h | 56 return std::unique_ptr<Expression>(new IntLiteral(context, in literal()
|
/external/skia/src/sksl/ir/ |
D | SkSLIntLiteral.h | 19 struct IntLiteral : public Expression { struct 22 IntLiteral(const Context& context, int offset, int64_t value) in IntLiteral() function 26 IntLiteral(int offset, int64_t value, const Type* type = nullptr) 43 IntLiteral& i = (IntLiteral&) other; in compareConstant() argument 59 return std::unique_ptr<Expression>(new IntLiteral(fOffset, fValue, &fType)); in clone() argument
|
D | SkSLConstructor.h | 37 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 43 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 44 return std::unique_ptr<Expression>(new IntLiteral(fOffset, in constantPropagate() 106 const IntLiteral izero(context, -1, 0); in compareConstant()
|
D | SkSLVariableReference.cpp | 59 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in copy_constant() 61 ((IntLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLSwizzle.h | 118 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in constantPropagate()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | TestAfterDivZeroChecker.cpp | 219 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() local 221 if (!IntLiteral) { in checkBranchCondition() 222 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition() 226 if (!IntLiteral || IntLiteral->getValue() != 0) in checkBranchCondition()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.hpp | 125 class IntLiteral : public Expression class 128 IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 129 virtual ~IntLiteral (void) {} in ~IntLiteral()
|
D | rsgExpression.cpp | 284 { getWeight<IntLiteral>, create<IntLiteral> }, 429 IntLiteral::IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in IntLiteral() function in rsg::IntLiteral 454 float IntLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 477 void IntLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
|
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 289 count = ((IntLiteral&) *size).fValue; in convertVarDeclarations() 600 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, -1, fInvocations)), in applyInvocationIDWorkaround() 625 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, -1, 0)), in applyInvocationIDWorkaround() 897 count = ((IntLiteral&) *converted).fValue; in convertInterfaceBlock() 941 *out = ((const IntLiteral&) value).fValue; in getConstantInt() 975 value = std::unique_ptr<Expression>(new IntLiteral(fContext, e.fOffset, currentValue)); in convertEnum() 1029 return std::unique_ptr<Expression>(new IntLiteral(fContext, expr.fOffset, in convertExpression() 1403 int64_t leftVal = ((IntLiteral&) left).fValue; in constantFold() 1404 int64_t rightVal = ((IntLiteral&) right).fValue; in constantFold() 1736 int64_t value = ((IntLiteral&) *args[0]).fValue; in convertNumberConstructor() [all …]
|
D | SkSLPipelineStageCodeGenerator.h | 41 void writeIntLiteral(const IntLiteral& i) override;
|
D | SkSLCPPCodeGenerator.h | 42 void writeIntLiteral(const IntLiteral& i) override;
|
D | SkSLGLSLCodeGenerator.h | 174 virtual void writeIntLiteral(const IntLiteral& i);
|
D | SkSLMetalCodeGenerator.h | 217 void writeIntLiteral(const IntLiteral& i);
|
D | SkSLPipelineStageCodeGenerator.cpp | 113 void PipelineStageCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeIntLiteral()
|
/external/skqp/src/sksl/ |
D | SkSLIRGenerator.cpp | 283 count = ((IntLiteral&) *size).fValue; in convertVarDeclarations() 594 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, -1, fInvocations)), in applyInvocationIDWorkaround() 619 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, -1, 0)), in applyInvocationIDWorkaround() 875 count = ((IntLiteral&) *converted).fValue; in convertInterfaceBlock() 919 *out = ((const IntLiteral&) value).fValue; in getConstantInt() 953 value = std::unique_ptr<Expression>(new IntLiteral(fContext, e.fOffset, currentValue)); in convertEnum() 994 return std::unique_ptr<Expression>(new IntLiteral(fContext, expr.fOffset, in convertExpression() 1353 int64_t leftVal = ((IntLiteral&) left).fValue; in constantFold() 1354 int64_t rightVal = ((IntLiteral&) right).fValue; in constantFold() 1687 int64_t value = ((IntLiteral&) *args[0]).fValue; in convertNumberConstructor() [all …]
|
D | SkSLPipelineStageCodeGenerator.h | 41 void writeIntLiteral(const IntLiteral& i) override;
|
D | SkSLCPPCodeGenerator.h | 42 void writeIntLiteral(const IntLiteral& i) override;
|
D | SkSLGLSLCodeGenerator.h | 174 virtual void writeIntLiteral(const IntLiteral& i);
|
D | SkSLMetalCodeGenerator.h | 213 void writeIntLiteral(const IntLiteral& i);
|
D | SkSLPipelineStageCodeGenerator.cpp | 112 void PipelineStageCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeIntLiteral()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 648 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() local 651 if (!IntLiteral) { in checkIncorrectRelationalOperator() 652 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator() 657 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator() 660 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectRelationalOperator() 664 bool IntLarger = IntLiteral->getType()->isUnsignedIntegerType() || in checkIncorrectRelationalOperator() 687 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator() local 690 if (!IntLiteral) { in checkIncorrectEqualityOperator() 691 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator() 695 if (!IntLiteral) in checkIncorrectEqualityOperator() [all …]
|