Home
last modified time | relevance | path

Searched refs:VarType (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp45 auto VarType = Var.getType(); in start() local
47 uint64_t Length = VarType->getRawSymbol().getLength(); in start()
57 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
60 if (isa<PDBSymbolTypeEnum>(*VarType)) in start()
64 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
74 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
82 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
/llvm-project/mlir/examples/toy/Ch6/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch2/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch3/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch1/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch4/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch5/include/toy/
H A DParser.h291 std::unique_ptr<VarType> parseType() { in parseType()
293 return parseError<VarType>("<", "to begin type"); in parseType()
296 auto type = std::make_unique<VarType>(); in parseType()
306 return parseError<VarType>(">", "to end type"); in parseType()
327 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseDeclaration()
335 type = std::make_unique<VarType>(); in parseDeclaration()
H A DAST.h30 struct VarType { struct
113 VarType type;
117 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type, in VarDeclExprAST()
124 const VarType &getType() { return type; } in getType()
/llvm-project/mlir/examples/toy/Ch7/include/toy/
H A DParser.h359 std::unique_ptr<VarType> parseType() { in parseType()
361 return parseError<VarType>("<", "to begin type"); in parseType()
364 auto type = std::make_unique<VarType>(); in parseType()
374 return parseError<VarType>(">", "to end type"); in parseType()
413 VarType type; in parseTypedDeclaration()
456 std::unique_ptr<VarType> type; // Type is optional, it can be inferred in parseVarDeclaration()
463 type = std::make_unique<VarType>(); in parseVarDeclaration()
555 VarType type; in parsePrototype()
H A DAST.h30 struct VarType { struct
133 VarType type;
137 VarDeclExprAST(Location loc, llvm::StringRef name, VarType type,
144 const VarType &getType() { return type; } in getType()
/llvm-project/clang/test/SemaCXX/
H A Dreturn.cpp92 template <class VarType>
93 void Test(const VarType& value) { in Test()
/llvm-project/clang-tools-extra/clang-tidy/llvm/
H A DPreferRegisterOverUnsignedCheck.cpp35 const auto *VarType = Result.Nodes.getNodeAs<QualType>("varType"); in check() local
55 << UserVarDecl << *VarType << NeedsQualification in check()
/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp109 IntegerType *VarType = Type::getInt64Ty(BB->getContext()); in BPFPreserveDITypeImpl()
113 *M, VarType, false, GlobalVariable::ExternalLinkage, nullptr, GVName); in BPFPreserveDITypeImpl()
110 IntegerType *VarType = Type::getInt64Ty(BB->getContext()); BPFPreserveDITypeImpl() local
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp58 QualType VarType;
166 VarType = computeVariableType(Expr, Ctx); in ExtractionContext()
167 if (VarType.isNull()) in ExtractionContext()
171 AttributedType::stripOuterNullability(VarType); in ExtractionContext()
264 printType(VarType, ExprNode->getDeclContext(), VarName) + " = " + in insertDeclaration()
57 QualType VarType; global() member in clang::clangd::__anon6379dcb20111::ExtractionContext
/llvm-project/mlir/examples/toy/Ch3/mlir/
H A DMLIRGen.cpp122 getType(VarType{})); in mlirGen()
174 function.getFunctionType().getInputs(), getType(VarType{}))); in mlirGen()
443 mlir::Type getType(const VarType &type) { return getType(type.shape); } in getType()
/llvm-project/mlir/examples/toy/Ch2/mlir/
H A DMLIRGen.cpp122 getType(VarType{})); in mlirGen()
174 function.getFunctionType().getInputs(), getType(VarType{}))); in mlirGen()
443 mlir::Type getType(const VarType &type) { return getType(type.shape); } in getType()
/llvm-project/mlir/examples/toy/Ch2/parser/
H A DAST.cpp41 void dump(const VarType &type);
198 void ASTDumper::dump(const VarType &type) { in dump()
/llvm-project/mlir/examples/toy/Ch5/parser/
H A DAST.cpp41 void dump(const VarType &type);
198 void ASTDumper::dump(const VarType &type) { in dump()
/llvm-project/mlir/examples/toy/Ch1/parser/
H A DAST.cpp41 void dump(const VarType &type);
198 void ASTDumper::dump(const VarType &type) { in dump()
/llvm-project/mlir/examples/toy/Ch6/parser/
H A DAST.cpp41 void dump(const VarType &type);
198 void ASTDumper::dump(const VarType &type) { in dump()

12