Home
last modified time | relevance | path

Searched refs:Modifiers (Results 1 – 25 of 126) sorted by relevance

123456

/external/skia/src/sksl/ir/
DSkSLVariable.h33 Variable(int offset, Modifiers modifiers, StringFragment name, const Type& type,
59 (fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag | in dead()
60 Modifiers::kUniform_Flag))) { in dead()
64 (!fReadCount && !(fModifiers.fFlags & (Modifiers::kPLS_Flag | in dead()
65 Modifiers::kPLSOut_Flag))); in dead()
68 mutable Modifiers fModifiers;
DSkSLModifiers.h18 struct Modifiers { struct
39 Modifiers() in Modifiers() argument
43 Modifiers(const Layout& layout, int flags) in Modifiers() function
102 bool operator==(const Modifiers& other) const {
106 bool operator!=(const Modifiers& other) const {
DSkSLModifiersDeclaration.h22 ModifiersDeclaration(Modifiers modifiers) in ModifiersDeclaration()
36 Modifiers fModifiers;
DSkSLVariableReference.cpp98 (fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) && in constantPropagate()
99 !(fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag)) { in constantPropagate()
102 if ((fVariable.fModifiers.fFlags & Modifiers::kConst_Flag) && fVariable.fInitialValue && in constantPropagate()
/external/skqp/src/sksl/ast/
DSkSLASTPrecision.h21 ASTPrecision(int offset, Modifiers::Flag precision) in ASTPrecision()
27 case Modifiers::kLowp_Flag: return String("precision lowp float;"); in description()
28 case Modifiers::kMediump_Flag: return String("precision mediump float;"); in description()
29 case Modifiers::kHighp_Flag: return String("precision highp float;"); in description()
38 const Modifiers::Flag fPrecision;
DSkSLASTModifiersDeclaration.h22 ASTModifiersDeclaration(Modifiers modifiers) in ASTModifiersDeclaration()
30 Modifiers fModifiers;
DSkSLASTParameter.h23 ASTParameter(int offset, Modifiers modifiers, std::unique_ptr<ASTType> type, in ASTParameter()
39 const Modifiers fModifiers;
DSkSLASTFunction.h22 ASTFunction(int offset, Modifiers modifiers, std::unique_ptr<ASTType> returnType, in ASTFunction()
48 const Modifiers fModifiers;
/external/skqp/src/sksl/ir/
DSkSLVariable.h33 Variable(int offset, Modifiers modifiers, StringFragment name, const Type& type,
56 return !fWriteCount || (!fReadCount && !(fModifiers.fFlags & (Modifiers::kOut_Flag | in dead()
57 Modifiers::kPLS_Flag | in dead()
58 Modifiers::kPLSOut_Flag))); in dead()
61 mutable Modifiers fModifiers;
DSkSLModifiers.h18 struct Modifiers { struct
42 Modifiers() in Modifiers() function
46 Modifiers(const Layout& layout, int flags) in Modifiers() argument
114 bool operator==(const Modifiers& other) const {
118 bool operator!=(const Modifiers& other) const {
DSkSLModifiersDeclaration.h22 ModifiersDeclaration(Modifiers modifiers) in ModifiersDeclaration()
34 Modifiers fModifiers;
/external/jdiff/src/jdiff/
DModifiers.java15 class Modifiers implements Comparable { class
33 public Modifiers() { in Modifiers() method in Modifiers
38 Modifiers oModifiers = (Modifiers)o; in compareTo()
61 public String diff(Modifiers newModifiers) { in diff()
DClassAPI.java28 public Modifiers modifiers_;
50 boolean isAbstract, Modifiers modifiers) { in ClassAPI()
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.cpp1063 void GLSLCodeGenerator::writeModifiers(const Modifiers& modifiers, in writeFunctionCall()
1065 if (modifiers.fFlags & Modifiers::kFlat_Flag) { in writeFunctionCall()
1068 if (modifiers.fFlags & Modifiers::kNoPerspective_Flag) { in writeFunctionCall()
1075 if (modifiers.fFlags & Modifiers::kReadOnly_Flag) { in writeFunctionCall()
1078 if (modifiers.fFlags & Modifiers::kWriteOnly_Flag) { in writeFunctionCall()
1081 if (modifiers.fFlags & Modifiers::kCoherent_Flag) { in writeFunctionCall()
1084 if (modifiers.fFlags & Modifiers::kVolatile_Flag) { in writeFunctionCall()
1087 if (modifiers.fFlags & Modifiers::kRestrict_Flag) { in writeFunctionCall()
1090 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in writeFunctionCall()
1091 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeFunctionCall()
[all …]
DSkSLParser.h46 struct Modifiers;
182 std::unique_ptr<ASTVarDeclarations> structVarDeclaration(Modifiers modifiers);
184 std::unique_ptr<ASTVarDeclarations> varDeclarationEnd(Modifiers modifiers,
202 Modifiers modifiers();
204 Modifiers modifiersWithDefaults(int defaultFlags);
210 std::unique_ptr<ASTDeclaration> interfaceBlock(Modifiers mods);
DSkSLParser.cpp407 Modifiers modifiers = this->modifiers(); in declaration()
466 Modifiers modifiers = this->modifiers(); in varDeclarations()
524 std::unique_ptr<ASTVarDeclarations> Parser::structVarDeclaration(Modifiers modifiers) { in structVarDeclaration()
550 std::unique_ptr<ASTVarDeclarations> Parser::varDeclarationEnd(Modifiers mods, in varDeclarationEnd()
616 Modifiers modifiers = this->modifiersWithDefaults(0); in parameter()
918 Modifiers Parser::modifiers() { in modifiers()
926 flags |= Modifiers::kUniform_Flag; in modifiers()
930 flags |= Modifiers::kConst_Flag; in modifiers()
934 flags |= Modifiers::kIn_Flag; in modifiers()
938 flags |= Modifiers::kOut_Flag; in modifiers()
[all …]
DSkSLPipelineStageCodeGenerator.cpp133 if (ref.fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag) { in writeVariableReference()
149 if (var.fModifiers.fFlags & (Modifiers::kIn_Flag | in writeVariableReference()
150 Modifiers::kUniform_Flag)) { in writeVariableReference()
221 if (var.fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kUniform_Flag) || in writeProgramElement()
/external/skia/src/sksl/
DSkSLParser.h27 struct Modifiers;
173 ASTNode::ID structVarDeclaration(Modifiers modifiers);
175 ASTNode::ID varDeclarationEnd(Modifiers modifiers, ASTNode::ID type, StringFragment name);
191 Modifiers modifiers();
193 Modifiers modifiersWithDefaults(int defaultFlags);
199 ASTNode::ID interfaceBlock(Modifiers mods);
DSkSLASTNode.h202 ParameterData(Modifiers modifiers, StringFragment name, size_t sizeCount) in ParameterData()
207 Modifiers fModifiers;
226 FunctionData(Modifiers modifiers, StringFragment name, size_t parameterCount) in FunctionData()
231 Modifiers fModifiers;
239 InterfaceBlockData(Modifiers modifiers, StringFragment typeName, size_t declarationCount, in InterfaceBlockData()
247 Modifiers fModifiers;
273 Max(sizeof(Modifiers),
323 NodeData(Modifiers data) in NodeData()
461 ASTNode(std::vector<ASTNode>* nodes, int offset, Kind kind, Modifiers m) in ASTNode()
518 Modifiers getModifiers() const { in getModifiers()
[all …]
DSkSLGLSLCodeGenerator.cpp1262 void GLSLCodeGenerator::writeModifiers(const Modifiers& modifiers, in writeFunctionCall()
1264 if (modifiers.fFlags & Modifiers::kFlat_Flag) { in writeFunctionCall()
1267 if (modifiers.fFlags & Modifiers::kNoPerspective_Flag) { in writeFunctionCall()
1274 if (modifiers.fFlags & Modifiers::kReadOnly_Flag) { in writeFunctionCall()
1277 if (modifiers.fFlags & Modifiers::kWriteOnly_Flag) { in writeFunctionCall()
1280 if (modifiers.fFlags & Modifiers::kCoherent_Flag) { in writeFunctionCall()
1283 if (modifiers.fFlags & Modifiers::kVolatile_Flag) { in writeFunctionCall()
1286 if (modifiers.fFlags & Modifiers::kRestrict_Flag) { in writeFunctionCall()
1289 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in writeFunctionCall()
1290 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeFunctionCall()
[all …]
DSkSLParser.cpp401 Modifiers modifiers = this->modifiers(); in declaration()
462 Modifiers modifiers = this->modifiers(); in varDeclarations()
527 ASTNode::ID Parser::structVarDeclaration(Modifiers modifiers) { in structVarDeclaration()
542 ASTNode::ID Parser::varDeclarationEnd(Modifiers mods, ASTNode::ID type, StringFragment name) { in varDeclarationEnd()
613 Modifiers modifiers = this->modifiersWithDefaults(0); in parameter()
928 Modifiers Parser::modifiers() { in modifiers()
936 flags |= Modifiers::kUniform_Flag; in modifiers()
940 flags |= Modifiers::kConst_Flag; in modifiers()
944 flags |= Modifiers::kIn_Flag; in modifiers()
948 flags |= Modifiers::kOut_Flag; in modifiers()
[all …]
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp55 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST()
60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
65 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST()
72 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
77 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
136 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST()
141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
146 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST()
153 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
158 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
/external/skqp/tests/
DSkSLMemoryLayoutTest.cpp55 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST()
60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
65 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST()
72 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
77 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
136 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST()
141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST()
146 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST()
153 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
158 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp635 std::vector<std::unique_ptr<Modifier>> Modifiers; in FillFunction() local
636 Modifiers.emplace_back(new LoadModifier(BB, &PT, &R)); in FillFunction()
637 Modifiers.emplace_back(new StoreModifier(BB, &PT, &R)); in FillFunction()
638 auto SM = Modifiers.back().get(); in FillFunction()
639 Modifiers.emplace_back(new ExtractElementModifier(BB, &PT, &R)); in FillFunction()
640 Modifiers.emplace_back(new ShuffModifier(BB, &PT, &R)); in FillFunction()
641 Modifiers.emplace_back(new InsertElementModifier(BB, &PT, &R)); in FillFunction()
642 Modifiers.emplace_back(new BinModifier(BB, &PT, &R)); in FillFunction()
643 Modifiers.emplace_back(new CastModifier(BB, &PT, &R)); in FillFunction()
644 Modifiers.emplace_back(new SelectModifier(BB, &PT, &R)); in FillFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp685 std::vector<std::unique_ptr<Modifier>> Modifiers; in FillFunction() local
686 Modifiers.emplace_back(new LoadModifier(BB, &PT, &R)); in FillFunction()
687 Modifiers.emplace_back(new StoreModifier(BB, &PT, &R)); in FillFunction()
688 auto SM = Modifiers.back().get(); in FillFunction()
689 Modifiers.emplace_back(new ExtractElementModifier(BB, &PT, &R)); in FillFunction()
690 Modifiers.emplace_back(new ShuffModifier(BB, &PT, &R)); in FillFunction()
691 Modifiers.emplace_back(new InsertElementModifier(BB, &PT, &R)); in FillFunction()
692 Modifiers.emplace_back(new BinModifier(BB, &PT, &R)); in FillFunction()
693 Modifiers.emplace_back(new CastModifier(BB, &PT, &R)); in FillFunction()
694 Modifiers.emplace_back(new SelectModifier(BB, &PT, &R)); in FillFunction()
[all …]

123456