Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp148 std::unique_ptr<PrototypeAST> Proto; member in __anone55a916e0111::FunctionAST
152 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
154 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
345 auto Proto = ParsePrototype(); in ParseDefinition() local
346 if (!Proto) in ParseDefinition()
350 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
358 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
360 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclPrinter.cpp312 Proto += " : "; in PrintConstructorInitializers()
313 Out << Proto; in PrintConstructorInitializers()
314 Proto.clear(); in PrintConstructorInitializers()
591 Out << Proto; in printExplicitSpecifier()
633 std::string Proto; in VisitFunctionDecl() local
662 Proto = '(' + Proto + ')'; in VisitFunctionDecl()
671 Proto += "("; in VisitFunctionDecl()
696 Proto += ")"; in VisitFunctionDecl()
729 Proto += ")"; in VisitFunctionDecl()
753 Proto.clear(); in VisitFunctionDecl()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp172 std::unique_ptr<PrototypeAST> Proto; member in __anon59d7026f0111::FunctionAST
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
178 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
372 auto Proto = ParsePrototype(); in ParseDefinition() local
373 if (!Proto) in ParseDefinition()
377 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
385 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
387 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
485 Function *TheFunction = TheModule->getFunction(Proto->getName()); in codegen()
488 TheFunction = Proto->codegen(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp182 std::unique_ptr<PrototypeAST> Proto; member in __anonce5373700111::FunctionAST
186 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
188 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
382 auto Proto = ParsePrototype(); in ParseDefinition() local
383 if (!Proto) in ParseDefinition()
387 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
395 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
397 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
515 auto &P = *Proto; in codegen()
516 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/clang/test/Index/
H A Dc-index-getCursor-test.m23 @protocol Proto protocol
27 @protocol SubP <Proto>
48 id <Proto> d;
83 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition)
85 // CHECK: [24:11 - 25:5] ObjCProtocolDecl=Proto:23:11 (Definition)
88 // CHECK: [27:17 - 27:22] ObjCProtocolRef=Proto:23:1
137 // CHECK: [48:6 - 48:11] ObjCProtocolRef=Proto:23:1
H A Dannotate-tokens.m85 @protocol Proto @end protocol
88 (void)@protocol(Proto);
155 typedef id<Proto> *proto_ptr;
447 // CHECK: Punctuation: "@" [85:1 - 85:2] ObjCProtocolDecl=Proto:85:11 (Definition)
449 // CHECK: Identifier: "Proto" [85:11 - 85:16] ObjCProtocolDecl=Proto:85:11 (Definition)
460 // CHECK: Punctuation: "@" [88:9 - 88:10] ObjCProtocolExpr=Proto:85:1
461 // CHECK: Keyword: "protocol" [88:10 - 88:18] ObjCProtocolExpr=Proto:85:1
462 // CHECK: Punctuation: "(" [88:18 - 88:19] ObjCProtocolExpr=Proto:85:1
463 // CHECK: Identifier: "Proto" [88:19 - 88:24] ObjCProtocolExpr=Proto:85:1
464 // CHECK: Punctuation: ")" [88:24 - 88:25] ObjCProtocolExpr=Proto:85:1
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dinstance-method-metadata.m11 @protocol Proto protocol
17 @interface Foo : NSObject <Proto> { int x; } @end
19 @interface Bar : NSObject <Proto> @end
H A Dproperty-category-impl.m7 @protocol Proto protocol
11 @interface Foo (Category) <Proto> @end
H A Dsuper-message-fragileabi.m5 @protocol Proto protocol
10 @interface Table <Proto>
/llvm-project-15.0.7/clang/utils/TableGen/
H A DSveEmitter.cpp146 std::string Proto; member in __anon409da13d0111::Intrinsic
173 Intrinsic(StringRef Name, StringRef Proto, uint64_t MergeTy,
182 std::string getProto() const { return Proto; } in getProto()
192 unsigned getNumParams() const { return Proto.size() - 1; } in getNumParams()
224 auto Idx = Proto.find_first_of("ajfrKLR@"); in getSplatIdx()
237 std::string Proto) const;
817 : Name(Name.str()), LLVMName(LLVMName), Proto(Proto.str()), in Intrinsic()
822 for (unsigned I = 0; I < Proto.size(); ++I) { in Intrinsic()
823 SVEType T(BaseTypeSpec, Proto[I]); in Intrinsic()
874 T = SVEType(TS, Proto[C - '0']); in replaceTemplatedArgs()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp241 PrototypeAST *Proto; member in FunctionAST
245 : Proto(proto), Body(body) {} in FunctionAST()
596 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
597 if (Proto == 0) return 0; in ParseDefinition()
600 return new FunctionAST(Proto, E); in ParseDefinition()
609 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
984 Function *TheFunction = Proto->Codegen(); in Codegen()
989 if (Proto->isBinaryOp()) in Codegen()
990 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
997 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]
H A Dtoy.cpp248 PrototypeAST *Proto; member in FunctionAST
252 : Proto(proto), Body(body) {} in FunctionAST()
603 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
604 if (Proto == 0) return 0; in ParseDefinition()
607 return new FunctionAST(Proto, E); in ParseDefinition()
616 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1355 Function *TheFunction = Proto->Codegen(); in Codegen()
1360 if (Proto->isBinaryOp()) in Codegen()
1361 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
1368 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp226 PrototypeAST *Proto; member in FunctionAST
230 : Proto(proto), Body(body) {} in FunctionAST()
581 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
582 if (Proto == 0) return 0; in ParseDefinition()
585 return new FunctionAST(Proto, E); in ParseDefinition()
594 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
966 Function *TheFunction = Proto->Codegen(); in Codegen()
971 if (Proto->isBinaryOp()) in Codegen()
972 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
979 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]
H A Dtoy.cpp227 PrototypeAST *Proto; member in FunctionAST
231 : Proto(proto), Body(body) {} in FunctionAST()
582 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
583 if (Proto == 0) return 0; in ParseDefinition()
586 return new FunctionAST(Proto, E); in ParseDefinition()
595 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1253 Function *TheFunction = Proto->Codegen(); in Codegen()
1258 if (Proto->isBinaryOp()) in Codegen()
1259 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
1266 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp227 std::unique_ptr<PrototypeAST> Proto; member in __anon42cfe4710111::FunctionAST
231 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
233 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
509 auto Proto = ParsePrototype(); in ParseDefinition() local
510 if (!Proto) in ParseDefinition()
514 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
522 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
524 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
789 auto &P = *Proto; in codegen()
790 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp261 std::unique_ptr<PrototypeAST> Proto; member in __anonb74c55720111::FunctionAST
265 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
267 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
601 auto Proto = ParsePrototype(); in ParseDefinition() local
602 if (!Proto) in ParseDefinition()
606 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
614 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
616 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
901 auto &P = *Proto; in codegen()
902 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dstatic-type-protocol-1.m3 @protocol Proto protocol
7 @protocol MyProto <Proto>
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp225 PrototypeAST *Proto; member in FunctionAST
229 : Proto(proto), Body(body) {} in FunctionAST()
580 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
581 if (Proto == 0) return 0; in ParseDefinition()
584 return new FunctionAST(Proto, E); in ParseDefinition()
593 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1213 Function *TheFunction = Proto->Codegen(); in Codegen()
1218 if (Proto->isBinaryOp()) in Codegen()
1219 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
1226 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp278 std::unique_ptr<PrototypeAST> Proto; member in __anoncef1c7f20111::FunctionAST
282 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
284 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
669 auto Proto = ParsePrototype(); in ParseDefinition() local
670 if (!Proto) in ParseDefinition()
674 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
682 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
684 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1056 auto &P = *Proto; in codegen()
1057 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp284 std::unique_ptr<PrototypeAST> Proto; member in __anona04537740111::FunctionAST
288 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
290 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
675 auto Proto = ParsePrototype(); in ParseDefinition() local
676 if (!Proto) in ParseDefinition()
680 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
688 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
690 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1061 auto &P = *Proto; in codegen()
1062 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp283 std::unique_ptr<PrototypeAST> Proto; member in __anon2bc8c6730111::FunctionAST
287 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
289 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
674 auto Proto = ParsePrototype(); in ParseDefinition() local
675 if (!Proto) in ParseDefinition()
679 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
687 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
689 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1062 auto &P = *Proto; in codegen()
1063 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp278 std::unique_ptr<PrototypeAST> Proto; member in __anon436e38f30111::FunctionAST
282 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
284 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
669 auto Proto = ParsePrototype(); in ParseDefinition() local
670 if (!Proto) in ParseDefinition()
674 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
682 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
684 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1056 auto &P = *Proto; in codegen()
1057 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp278 std::unique_ptr<PrototypeAST> Proto; member in __anonb7eaa9f40111::FunctionAST
282 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
284 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
669 auto Proto = ParsePrototype(); in ParseDefinition() local
670 if (!Proto) in ParseDefinition()
674 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
682 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
684 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
1056 auto &P = *Proto; in codegen()
1057 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DSocketTestUtilities.cpp94 static bool CheckIPSupport(llvm::StringRef Proto, llvm::StringRef Addr) { in CheckIPSupport() argument
102 Proto, Err) in CheckIPSupport()
114 "Assuming the host does not support {0}. Skipping test.", Proto) in CheckIPSupport()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp267 PrototypeAST *Proto; member in FunctionAST
271 : Proto(proto), Body(body) {} in FunctionAST()
622 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
623 if (Proto == 0) return 0; in ParseDefinition()
626 return new FunctionAST(Proto, E); in ParseDefinition()
635 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
1433 Function *TheFunction = Proto->Codegen(); in Codegen()
1438 if (Proto->isBinaryOp()) in Codegen()
1439 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
1446 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
[all …]

12345