Home
last modified time | relevance | path

Searched refs:VariableDeclaration (Results 1 – 25 of 41) 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.cpp139 void VariableDeclaration::dumpType(Ostream &Stream) const { in dumpType()
159 void VariableDeclaration::dump(Ostream &Stream) const { in dump()
190 void VariableDeclaration::Initializer::dumpType(Ostream &Stream) const { in dumpType()
196 void VariableDeclaration::DataInitializer::dump(Ostream &Stream) const { in dump()
213 void VariableDeclaration::ZeroInitializer::dump(Ostream &Stream) const { in dump()
220 void VariableDeclaration::RelocInitializer::dumpType(Ostream &Stream) const { in dumpType()
226 void VariableDeclaration::RelocInitializer::dump(Ostream &Stream) const { in dump()
DIceGlobalInits.h220 class VariableDeclaration : public GlobalDeclaration {
221 VariableDeclaration(const VariableDeclaration &) = delete;
222 VariableDeclaration &operator=(const VariableDeclaration &) = delete;
406 static VariableDeclaration *create(VariableDeclarationList *VDL,
410 return new (VDL->allocate_variable_declaration<VariableDeclaration>())
411 VariableDeclaration(Linkage, SuppressMangling);
414 static VariableDeclaration *createExternal(VariableDeclarationList *VDL) { in createExternal()
500 VariableDeclaration(llvm::GlobalValue::LinkageTypes Linkage, in VariableDeclaration() function
508 const VariableDeclaration::Initializer &Init) {
DIceELFObjectWriter.cpp281 classifyGlobalSection(const VariableDeclaration *Var) { in classifyGlobalSection()
293 for (VariableDeclaration *Var : Vars) { in partitionGlobalsBySection()
355 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
400 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
425 case VariableDeclaration::Initializer::DataInitializerKind: { in writeDataOfType()
427 llvm::cast<VariableDeclaration::DataInitializer>(Init) in writeDataOfType()
432 case VariableDeclaration::Initializer::ZeroInitializerKind: in writeDataOfType()
435 case VariableDeclaration::Initializer::RelocInitializerKind: { in writeDataOfType()
437 llvm::cast<VariableDeclaration::RelocInitializer>(Init); in writeDataOfType()
DIceCfg.h150 void addGlobal(VariableDeclaration *Global) { in addGlobal()
183 static bool isProfileGlobal(const VariableDeclaration &Var);
294 VariableDeclaration *NodeNameDeclaration);
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()
675 void addGlobalInitializer(Ice::VariableDeclaration &Global, in addGlobalInitializer()
685 void addGlobalInitializer(Ice::VariableDeclaration &Global,
714 auto *VarDecl = cast<Ice::VariableDeclaration>(Var); in convertGlobalsToIce()
751 Ice::VariableDeclaration &Global, const Constant *Initializer, in addGlobalInitializer()
759 Global.addInitializer(Ice::VariableDeclaration::DataInitializer::create( in addGlobalInitializer()
768 Global.addInitializer(Ice::VariableDeclaration::ZeroInitializer::create( in addGlobalInitializer()
790 Global.addInitializer(Ice::VariableDeclaration::RelocInitializer::create( in addGlobalInitializer()
893 auto *Var = VariableDeclaration::create( in installGlobalDeclarations()
DIceGlobalContext.cpp365 auto *Revision = VariableDeclaration::create(&Globals, true); in GlobalContext()
369 Revision->addInitializer(VariableDeclaration::DataInitializer::create( in GlobalContext()
487 for (VariableDeclaration *Global : Globals) { in saveBlockInfoPtrs()
502 for (const Ice::VariableDeclaration *Global : Globals) { in lowerGlobals()
538 VariableDeclaration::createExternal(GlobalVariablePool.get()); in lowerProfileData()
546 for (const VariableDeclaration *PBI : ProfileBlockInfos) { in lowerProfileData()
550 VariableDeclaration::RelocInitializer::create( in lowerProfileData()
560 VariableDeclaration::ZeroInitializer::create(GlobalVariablePool.get(), in lowerProfileData()
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 …]
DIceTargetLowering.cpp1023 void TargetDataLowering::emitGlobal(const VariableDeclaration &Var, in emitGlobal()
1071 case VariableDeclaration::Initializer::DataInitializerKind: { in emitGlobal()
1073 llvm::cast<VariableDeclaration::DataInitializer>(Init) in emitGlobal()
1080 case VariableDeclaration::Initializer::ZeroInitializerKind: in emitGlobal()
1083 case VariableDeclaration::Initializer::RelocInitializerKind: { in emitGlobal()
1085 llvm::cast<VariableDeclaration::RelocInitializer>(Init); in emitGlobal()
DIceTranslator.h32 class VariableDeclaration; variable
DIceELFObjectWriter.h27 using VariableDeclarationPartition = std::vector<VariableDeclaration *>;
DIceCfg.cpp154 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createNodeNameDeclaration()
157 Var->addInitializer(VariableDeclaration::DataInitializer::create( in createNodeNameDeclaration()
165 const std::string &NodeAsmName, VariableDeclaration *NodeNameDeclaration) { in createBlockProfilingInfoDeclaration()
166 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createBlockProfilingInfoDeclaration()
169 Var->addInitializer(VariableDeclaration::ZeroInitializer::create( in createBlockProfilingInfoDeclaration()
173 Var->addInitializer(VariableDeclaration::RelocInitializer::create( in createBlockProfilingInfoDeclaration()
192 bool Cfg::isProfileGlobal(const VariableDeclaration &Var) { in isProfileGlobal()
DIceCfgNode.h117 void profileExecutionCount(VariableDeclaration *Var);
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()
1606 auto *GlobalDataSize = VariableDeclaration::createExternal(Globals.get()); in translate()
1608 GlobalDataSize->addInitializer(VariableDeclaration::DataInitializer::create( in translate()
1613 auto *GlobalNumPages = VariableDeclaration::createExternal(Globals.get()); in translate()
1615 GlobalNumPages->addInitializer(VariableDeclaration::DataInitializer::create( in translate()
DIceGlobalContext.h511 VariableDeclaration *ProfileBlockInfoVarDecl = nullptr;
512 std::vector<VariableDeclaration *> ProfileBlockInfos;
/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.cpp558 …glu::VariableDeclaration variable (glu::VarType(basicType, getDataTypeDefaultPrecision(basi… in generateProgramDefinitionFromResource()
690 variable = glu::VariableDeclaration(glu::VarType(structPtr), "target"); in generateProgramDefinitionFromResource()
1707 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_… in init()
1711 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu… in init()
1713 …precedingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu… in init()
1736 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_VEC… in init()
1741 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu::T… in init()
1750 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(struct… in init()
1755 …targetInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::VarType(glu::T… in init()
1768 …trailingInterfaceBlock.variables.push_back(glu::VariableDeclaration(glu::VarType(glu::TYPE_FLOAT_V… in init()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp99 bool VariableSearchFilter::matchesFilter (const glu::VariableDeclaration& variable) const in matchesFilter()
733 …tor<VariablePathComponent>& typePath, const std::string& path, const glu::VariableDeclaration& var) in traverseVariablePath()
979 bool operator() (const glu::VariableDeclaration& d) const in operator ()()
Des31fProgramInterfaceDefinition.cpp75 static bool containsMatchingSubtype (const std::vector<glu::VariableDeclaration>& decls, bool (*pre… in containsMatchingSubtype()
/external/v8/src/ast/
Dast.h39 V(VariableDeclaration) \
402 class VariableDeclaration : public Declaration {
413 VariableDeclaration(VariableProxy* proxy, int pos, bool is_nested = false)
424 class NestedVariableDeclaration final : public VariableDeclaration {
432 : VariableDeclaration(proxy, pos, true), scope_(scope) {} in NestedVariableDeclaration()
438 inline NestedVariableDeclaration* VariableDeclaration::AsNested() { in AsNested()
2833 VariableDeclaration* NewVariableDeclaration(VariableProxy* proxy, int pos) { in NewVariableDeclaration()
2834 return new (zone_) VariableDeclaration(proxy, pos); in NewVariableDeclaration()

12