Home
last modified time | relevance | path

Searched refs:VariableDeclaration (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp91 auto *RzArray = VariableDeclaration::create(&NewGlobals); in instrumentGlobals()
93 auto *RzSizes = VariableDeclaration::create(&NewGlobals); in instrumentGlobals()
104 for (VariableDeclaration *Global : Globals) { in instrumentGlobals()
106 VariableDeclaration *RzLeft = VariableDeclaration::create(&NewGlobals); in instrumentGlobals()
107 VariableDeclaration *NewGlobal = Global; in instrumentGlobals()
108 VariableDeclaration *RzRight = VariableDeclaration::create(&NewGlobals); in instrumentGlobals()
116 RzLeft->addInitializer(VariableDeclaration::ZeroInitializer::create( in instrumentGlobals()
118 RzRight->addInitializer(VariableDeclaration::ZeroInitializer::create( in instrumentGlobals()
121 RzLeft->addInitializer(VariableDeclaration::DataInitializer::create( in instrumentGlobals()
123 RzRight->addInitializer(VariableDeclaration::DataInitializer::create( in instrumentGlobals()
[all …]
DIceGlobalInits.cpp105 void VariableDeclaration::dumpType(Ostream &Stream) const { in dumpType()
125 void VariableDeclaration::dump(Ostream &Stream) const { in dump()
156 void VariableDeclaration::Initializer::dumpType(Ostream &Stream) const { in dumpType()
162 void VariableDeclaration::DataInitializer::dump(Ostream &Stream) const { in dump()
179 void VariableDeclaration::ZeroInitializer::dump(Ostream &Stream) const { in dump()
186 void VariableDeclaration::RelocInitializer::dumpType(Ostream &Stream) const { in dumpType()
192 void VariableDeclaration::RelocInitializer::dump(Ostream &Stream) const { in dump()
DIceGlobalInits.h177 class VariableDeclaration : public GlobalDeclaration {
178 VariableDeclaration(const VariableDeclaration &) = delete;
179 VariableDeclaration &operator=(const VariableDeclaration &) = delete;
363 static VariableDeclaration *create(VariableDeclarationList *VDL,
367 return new (VDL->allocate_variable_declaration<VariableDeclaration>())
368 VariableDeclaration(Linkage, SuppressMangling);
371 static VariableDeclaration *createExternal(VariableDeclarationList *VDL) { in createExternal()
446 VariableDeclaration(llvm::GlobalValue::LinkageTypes Linkage, in VariableDeclaration() function
454 const VariableDeclaration::Initializer &Init) {
DIceELFObjectWriter.cpp280 classifyGlobalSection(const VariableDeclaration *Var) { in classifyGlobalSection()
292 for (VariableDeclaration *Var : Vars) { in partitionGlobalsBySection()
354 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
399 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
424 case VariableDeclaration::Initializer::DataInitializerKind: { in writeDataOfType()
426 llvm::cast<VariableDeclaration::DataInitializer>(Init) in writeDataOfType()
431 case VariableDeclaration::Initializer::ZeroInitializerKind: in writeDataOfType()
434 case VariableDeclaration::Initializer::RelocInitializerKind: { in writeDataOfType()
436 llvm::cast<VariableDeclaration::RelocInitializer>(Init); in writeDataOfType()
DIceDefs.h78 class VariableDeclaration; variable
164 using VariableDeclarationArray = std::vector<VariableDeclaration *>;
189 void willNotBeEmitted(VariableDeclaration *) {} in willNotBeEmitted() argument
250 void push_back(VariableDeclaration *Global) { Globals.push_back(Global); } in push_back()
DIceConverter.cpp138 else if (const auto *Var = llvm::dyn_cast<Ice::VariableDeclaration>(Decl)) in convertConstant()
677 void addGlobalInitializer(Ice::VariableDeclaration &Global, in addGlobalInitializer()
687 void addGlobalInitializer(Ice::VariableDeclaration &Global,
716 auto *VarDecl = cast<Ice::VariableDeclaration>(Var); in convertGlobalsToIce()
753 Ice::VariableDeclaration &Global, const Constant *Initializer, in addGlobalInitializer()
761 Global.addInitializer(Ice::VariableDeclaration::DataInitializer::create( in addGlobalInitializer()
770 Global.addInitializer(Ice::VariableDeclaration::ZeroInitializer::create( in addGlobalInitializer()
792 Global.addInitializer(Ice::VariableDeclaration::RelocInitializer::create( in addGlobalInitializer()
895 auto *Var = VariableDeclaration::create( in installGlobalDeclarations()
DIceTargetLowering.cpp1012 void TargetDataLowering::emitGlobal(const VariableDeclaration &Var, in emitGlobal()
1060 case VariableDeclaration::Initializer::DataInitializerKind: { in emitGlobal()
1062 llvm::cast<VariableDeclaration::DataInitializer>(Init) in emitGlobal()
1069 case VariableDeclaration::Initializer::ZeroInitializerKind: in emitGlobal()
1072 case VariableDeclaration::Initializer::RelocInitializerKind: { in emitGlobal()
1074 llvm::cast<VariableDeclaration::RelocInitializer>(Init); in emitGlobal()
DIceTranslator.h32 class VariableDeclaration; variable
DPNaClTranslator.cpp365 void addGlobalDeclaration(Ice::VariableDeclaration *Decl) { in addGlobalDeclaration()
371 Ice::VariableDeclaration *getGlobalVariableByID(NaClBcIndexSize_t Index) { in getGlobalVariableByID()
502 for (Ice::VariableDeclaration *Var : *VariableDeclarations) { in installGlobalVarNames()
556 for (const Ice::VariableDeclaration *Decl : *VariableDeclarations) { in createValueIDsForGlobalVars()
575 Ice::VariableDeclaration *
627 Ice::VariableDeclaration *
1041 DummyGlobalVar(Ice::VariableDeclaration::create( in GlobalsParser()
1053 std::unordered_map<NaClBcIndexSize_t, Ice::VariableDeclaration *>;
1076 Ice::VariableDeclaration *DummyGlobalVar;
1079 Ice::VariableDeclaration *CurGlobalVar;
[all …]
DIceCfg.h150 void addGlobal(VariableDeclaration *Global) { in addGlobal()
281 VariableDeclaration *NodeNameDeclaration);
DIceELFObjectWriter.h27 using VariableDeclarationPartition = std::vector<VariableDeclaration *>;
DIceCfgNode.h116 void profileExecutionCount(VariableDeclaration *Var);
DIceCfg.cpp145 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createNodeNameDeclaration()
148 Var->addInitializer(VariableDeclaration::DataInitializer::create( in createNodeNameDeclaration()
156 const std::string &NodeAsmName, VariableDeclaration *NodeNameDeclaration) { in createBlockProfilingInfoDeclaration()
157 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createBlockProfilingInfoDeclaration()
160 Var->addInitializer(VariableDeclaration::ZeroInitializer::create( in createBlockProfilingInfoDeclaration()
164 Var->addInitializer(VariableDeclaration::RelocInitializer::create( in createBlockProfilingInfoDeclaration()
DWasmTranslator.cpp1582 auto *WasmMemory = VariableDeclaration::createExternal(Globals.get()); in translate()
1590 WasmMemory->addInitializer(VariableDeclaration::ZeroInitializer::create( in translate()
1596 WasmMemory->addInitializer(VariableDeclaration::DataInitializer::create( in translate()
1607 auto *GlobalDataSize = VariableDeclaration::createExternal(Globals.get()); in translate()
1609 GlobalDataSize->addInitializer(VariableDeclaration::DataInitializer::create( in translate()
1614 auto *GlobalNumPages = VariableDeclaration::createExternal(Globals.get()); in translate()
1616 GlobalNumPages->addInitializer(VariableDeclaration::DataInitializer::create( in translate()
DIceGlobalContext.cpp364 auto *Revision = VariableDeclaration::create(&Globals, true); in GlobalContext()
368 Revision->addInitializer(VariableDeclaration::DataInitializer::create( in GlobalContext()
493 for (const Ice::VariableDeclaration *Global : Globals) { in lowerGlobals()
DIceTargetLowering.h623 void emitGlobal(const VariableDeclaration &Var,
/external/deqp/framework/opengl/
DgluVarType.hpp256 struct VariableDeclaration struct
258VariableDeclaration (const VarType& varType_, const std::string& name_, Storage storage_ = STORAGE…
260 bool operator== (const VariableDeclaration& other) const;
261 bool operator!= (const VariableDeclaration& other) const;
280 std::vector<glu::VariableDeclaration> variables; argument
332 std::ostream& operator<< (std::ostream& str, const VariableDeclaration& decl);
DgluVarType.cpp260 VariableDeclaration::VariableDeclaration (const VarType& varType_, const std::string& name_, Storag… in VariableDeclaration() function in glu::VariableDeclaration
270 bool VariableDeclaration::operator== (const VariableDeclaration& other) const in operator ==()
280 bool VariableDeclaration::operator!= (const VariableDeclaration& other) const in operator !=()
328 std::ostream& operator<< (std::ostream& str, const VariableDeclaration& decl) in operator <<()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp48 …VariablePathComponent (const glu::VariableDeclaration* decl) :m_type(TYPE_DECLARATION) { m_data.d… in VariablePathComponent()
59 …const glu::VariableDeclaration* getDeclaration (void) const { DE_ASSERT(isDeclaration()); return… in getDeclaration()
75 const glu::VariableDeclaration* declaration;
97 bool matchesFilter (const glu::VariableDeclaration& variable) const;
Des31fSeparateShaderTests.cpp82 using glu::VariableDeclaration;
200 void printInputColor (ostringstream& oss, const VariableDeclaration& input) in printInputColor()
288 vector<VariableDeclaration> vtxOutputs;
289 vector<VariableDeclaration> frgInputs;
358 VariableDeclaration(varType, vtxName, STORAGE_OUT, getGluInterpolation(vtxCompatInterp), loc)); in genVaryingInterface()
360 VariableDeclaration(varType, frgName, STORAGE_IN, getGluInterpolation(frgInterp), loc)); in genVaryingInterface()
369 vector<VariableDeclaration> varyingCompatVtxOutputs (const VaryingInterface& varyings) in varyingCompatVtxOutputs()
371 vector<VariableDeclaration> outputs = varyings.vtxOutputs; in varyingCompatVtxOutputs()
402 oss << VariableDeclaration(varType, varName, STORAGE_UNIFORM) << ";\n"; in printFloatDeclaration()
404 oss << VariableDeclaration(varType, varName, STORAGE_CONST) in printFloatDeclaration()
[all …]
Des31fProgramInterfaceDefinition.hpp59 std::vector<glu::VariableDeclaration> variables;
Des31fProgramInterfaceQueryTests.cpp565 …glu::VariableDeclaration variable (glu::VarType(basicType, getDataTypeDefaultPrecision(basi… in generateProgramDefinitionFromResource()
697 variable = glu::VariableDeclaration(glu::VarType(structPtr), "target"); in generateProgramDefinitionFromResource()
1714 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_… in init()
1718 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu… in init()
1720 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu… in init()
1743 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_VEC… in init()
1748 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu::T… in init()
1757 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(struct… in init()
1762 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu::T… in init()
1775 …trailingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_V… in init()
[all …]
Des31fProgramInterfaceDefinition.cpp81 static bool containsMatchingSubtype (const std::vector<glu::VariableDeclaration>& decls, bool (*pre… in containsMatchingSubtype()
Des31fProgramInterfaceDefinitionUtil.cpp99 bool VariableSearchFilter::matchesFilter (const glu::VariableDeclaration& variable) const in matchesFilter()
760 …tor<VariablePathComponent>& typePath, const std::string& path, const glu::VariableDeclaration& var) in traverseVariablePath()
1006 bool operator() (const glu::VariableDeclaration& d) const in operator ()()
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformerJS.kt197 if (stmt is VariableDeclaration) { in <lambda>()

12