Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/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.cpp274 classifyGlobalSection(const VariableDeclaration *Var) { in classifyGlobalSection()
286 for (VariableDeclaration *Var : Vars) { in partitionGlobalsBySection()
348 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
393 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
418 case VariableDeclaration::Initializer::DataInitializerKind: { in writeDataOfType()
420 llvm::cast<VariableDeclaration::DataInitializer>(Init) in writeDataOfType()
425 case VariableDeclaration::Initializer::ZeroInitializerKind: in writeDataOfType()
428 case VariableDeclaration::Initializer::RelocInitializerKind: { in writeDataOfType()
430 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()
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.cpp981 void TargetDataLowering::emitGlobal(const VariableDeclaration &Var, in emitGlobal()
1026 case VariableDeclaration::Initializer::DataInitializerKind: { in emitGlobal()
1028 llvm::cast<VariableDeclaration::DataInitializer>(Init) in emitGlobal()
1035 case VariableDeclaration::Initializer::ZeroInitializerKind: in emitGlobal()
1038 case VariableDeclaration::Initializer::RelocInitializerKind: { in emitGlobal()
1040 llvm::cast<VariableDeclaration::RelocInitializer>(Init); in emitGlobal()
/third_party/vk-gl-cts/framework/opengl/
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 <<()
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);
/third_party/typescript/tests/baselines/reference/
DclassMemberWithMissingIdentifier2.errors.txt6 …r/classMemberWithMissingIdentifier2.ts(2,27): error TS2304: Cannot find name 'VariableDeclaration'.
12 public {[name:string]:VariableDeclaration};
24 !!! error TS2304: Cannot find name 'VariableDeclaration'.
DclassMemberWithMissingIdentifier2.js3 public {[name:string]:VariableDeclaration};
14 VariableDeclaration;
DclassMemberWithMissingIdentifier2.types5 public {[name:string]:VariableDeclaration};
10 >VariableDeclaration : any
DclassMemberWithMissingIdentifier2.symbols5 public {[name:string]:VariableDeclaration};
/third_party/vk-gl-cts/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 …]
/third_party/typescript/src/services/
Dbreakpoints.ts75 case SyntaxKind.VariableDeclaration:
78 …return spanInVariableDeclaration(<VariableDeclaration | PropertyDeclaration | PropertySignature>no…
340 case SyntaxKind.VariableDeclaration:
343 … const { initializer, type } = <VariableDeclaration | ParameterDeclaration>node.parent;
369 …function textSpanFromVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclar…
380 …function spanInVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclaration …
534 return textSpanFromVariableDeclaration(<VariableDeclaration>bindingPattern.parent);
DcallHierarchy.ts14 | ClassExpression & { name: undefined, parent: VariableDeclaration & { name: Identifier } }
15 … | FunctionExpression & { name: undefined, parent: VariableDeclaration & { name: Identifier } }
16 | ArrowFunction & { name: undefined, parent: VariableDeclaration & { name: Identifier } }
389 case SyntaxKind.VariableDeclaration:
392 collect((node as VariableDeclaration | ParameterDeclaration).name);
393 collect((node as VariableDeclaration | ParameterDeclaration).initializer);
/third_party/typescript/src/services/refactors/
DmoveToNewFile.ts216 case SyntaxKind.VariableDeclaration:
264 case SyntaxKind.VariableDeclaration:
298 | VariableDeclaration & { initializer: RequireOrImportCall };
363 case SyntaxKind.VariableDeclaration:
399 …nusedImportsInVariableDeclaration(sourceFile: SourceFile, varDecl: VariableDeclaration, changes: t…
570 case SyntaxKind.VariableDeclaration:
571 return isVariableDeclarationInImport(decl as VariableDeclaration);
578 function isVariableDeclarationInImport(decl: VariableDeclaration) {
596 case SyntaxKind.VariableDeclaration: {
679 …interface TopLevelVariableDeclaration extends VariableDeclaration { parent: VariableDeclarationLis…
[all …]
/third_party/typescript/src/services/codefixes/
DfixJSDocTypes.ts57 | TypeAliasDeclaration | TypeAssertion | VariableDeclaration;
77 case SyntaxKind.VariableDeclaration:
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts504 | VariableDeclaration
543 … if (node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.BindingElement) {
575 case SyntaxKind.VariableDeclaration:
576 return !getBindingNameVisible(node as VariableDeclaration);
586 …function getBindingNameVisible(elem: BindingElement | VariableDeclaration | OmittedExpression): bo…
1008 case SyntaxKind.VariableDeclaration: {
1537 function recreateBindingPattern(d: BindingPattern): VariableDeclaration[] {
1538 … return flatten<VariableDeclaration>(mapDefined(d.elements, e => recreateBindingElement(e)));
1669 …type CanHaveLiteralInitializer = VariableDeclaration | PropertyDeclaration | PropertySignature | P…
1676 case SyntaxKind.VariableDeclaration:
[all …]
Ddestructuring.ts34 node: VariableDeclaration | DestructuringAssignment,
173 node: VariableDeclaration | ParameterDeclaration,
179 skipInitializer?: boolean): VariableDeclaration[] {
182 const declarations: VariableDeclaration[] = [];
Des2018.ts66 let taggedTemplateStringDeclarations: VariableDeclaration[];
177 case SyntaxKind.VariableDeclaration:
178 return visitVariableDeclaration(node as VariableDeclaration);
546 … function visitVariableDeclaration(node: VariableDeclaration): VisitResult<VariableDeclaration> {
557 …VariableDeclarationWorker(node: VariableDeclaration, exportedVariableStatement: boolean): VisitRes…
/third_party/typescript/tests/cases/compiler/
DclassMemberWithMissingIdentifier2.ts2 public {[name:string]:VariableDeclaration};
/third_party/typescript/scripts/
DbuildProtocol.ts80 case ts.SyntaxKind.VariableDeclaration:
87 …if (((<ts.VariableDeclaration | ts.MethodDeclaration | ts.PropertyDeclaration | ts.ParameterDeclar…

12345