/external/skia/src/sksl/ir/ |
D | SkSLIntLiteral.h | 19 struct IntLiteral : public Expression { struct 22 IntLiteral(const Context& context, Position position, int64_t value, const Type* type = nullptr) 39 IntLiteral& i = (IntLiteral&) other; in compareConstant() argument
|
D | SkSLConstructor.h | 38 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 44 int64_t intValue = ((IntLiteral&) *fArguments[0]).fValue; in constantPropagate() 45 return std::unique_ptr<Expression>(new IntLiteral(irGenerator.fContext, in constantPropagate() 100 const IntLiteral izero(context, Position(), 0); in compareConstant() 156 return ((IntLiteral&) c).fValue; in getIVecComponent()
|
D | SkSLVariableReference.h | 86 return std::unique_ptr<Expression>(new IntLiteral( in copy_constant() 89 ((IntLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLProgram.h | 49 return std::unique_ptr<Expression>(new IntLiteral(context, in literal()
|
D | SkSLSwizzle.h | 82 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 | 124 class IntLiteral : public Expression class 127 IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 128 virtual ~IntLiteral (void) {} in ~IntLiteral()
|
D | rsgExpression.cpp | 284 { getWeight<IntLiteral>, create<IntLiteral> }, 417 IntLiteral::IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in IntLiteral() function in rsg::IntLiteral 442 float IntLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 465 void IntLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
|
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 240 count = ((IntLiteral&) *size).fValue; in convertVarDeclarations() 442 int64_t v = ((IntLiteral&) *caseValue).fValue; in convertSwitch() 541 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, Position(), fInvocations)), in applyInvocationIDWorkaround() 566 std::unique_ptr<IntLiteral>(new IntLiteral(fContext, Position(), 0)), in applyInvocationIDWorkaround() 756 count = ((IntLiteral&) *converted).fValue; in convertInterfaceBlock() 820 return std::unique_ptr<Expression>(new IntLiteral(fContext, expr.fPosition, in convertExpression() 1102 int64_t leftVal = ((IntLiteral&) left).fValue; in constantFold() 1103 int64_t rightVal = ((IntLiteral&) right).fValue; in constantFold() 1475 int64_t value = ((IntLiteral&) *args[0]).fValue; in convertNumberConstructor() 1480 return std::unique_ptr<Expression>(new IntLiteral(fContext, in convertNumberConstructor() [all …]
|
D | SkSLGLSLCodeGenerator.h | 153 void writeIntLiteral(const IntLiteral& i);
|
D | SkSLCPPCodeGenerator.cpp | 87 int64_t index = ((IntLiteral&) *i.fIndex).fValue; in writeIndexExpression() 104 int64_t index = ((IntLiteral&) *i.fIndex).fValue; in writeIndexExpression()
|
D | SkSLGLSLCodeGenerator.cpp | 94 this->writeIntLiteral((IntLiteral&) expr); in writeExpression() 474 void GLSLCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeIntLiteral()
|
D | SkSLSPIRVCodeGenerator.h | 216 SpvId writeIntLiteral(const IntLiteral& i);
|
D | SkSLSPIRVCodeGenerator.cpp | 1072 IntLiteral count(fContext, Position(), type.columns()); in getType() 1213 return this->writeIntLiteral((IntLiteral&) expr); in writeExpression() 1723 IntLiteral index(fContext, Position(), fieldExpr.fFieldIndex); in getAccessChain() 1869 IntLiteral index(fContext, Position(), swizzle.fComponents[0]); in getLValue() 1946 IntLiteral fieldIndex(fContext, Position(), fRTHeightFieldIndex); in writeVariableReference() 2443 return std::unique_ptr<Expression>(new IntLiteral(context, Position(), 1)); in create_literal_1() 2545 SpvId SPIRVCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeIntLiteral()
|
D | SkSLCompiler.cpp | 417 return ((IntLiteral&) expr).fValue == value; in is_constant()
|
/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 …]
|
/external/swiftshader/src/Reactor/ |
D | Reactor.hpp | 118 struct IntLiteral struct 124 struct IntLiteral<Bool> struct 130 struct IntLiteral<Int> struct 136 struct IntLiteral<UInt> struct 142 struct IntLiteral<Long> struct 166 RValue(typename IntLiteral<T>::type i); 2347 RValue<T>::RValue(typename IntLiteral<T>::type i) in RValue()
|