Home
last modified time | relevance | path

Searched refs:Prototype (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterGenericRedeclTest.cpp22 static constexpr auto *Prototype = "void X();"; member
31 static constexpr auto *Prototype = "class X;"; member
40 static constexpr auto *Prototype = "enum class X;"; member
49 static constexpr auto *Prototype = "extern int X;"; member
56 static constexpr auto *Prototype = "template <class T> void X();"; member
70 static constexpr auto *Prototype = "template <class T> class X;"; member
79 static constexpr auto *Prototype = "template <class T> extern T X;"; member
94 static constexpr auto *Prototype = member
119 static constexpr auto *Prototype = member
138 std::string getPrototype() { return TypeParam::Prototype; } in getPrototype()
H A DASTImporterODRStrategiesTest.cpp33 static constexpr auto *Prototype = "void X(int);"; member
85 static constexpr auto *Prototype = "class X;"; member
96 static constexpr auto *Prototype = "extern int X;"; member
106 static constexpr auto *Prototype = "template <class> class X;"; member
160 static constexpr auto *Prototype = member
243 static std::string getPrototype() { return TypeParam::Prototype; } in getPrototype()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DRISCVVEmitter.cpp51 SmallVector<PrototypeDescriptor> Prototype; member
244 InsertToSignatureSet(SR.Prototype); in init()
511 auto Prototype = RVVIntrinsic::computeBuiltinTypes( in createRVVIntrinsics() local
522 RVVType::computeTypes(BT, Log2LMUL, NF, Prototype); in createRVVIntrinsics()
589 SR.Prototype = std::move(BasicPrototype); in createRVVIntrinsics()
616 R.PrototypeIndex = SST.getIndex(SR.Prototype); in createRVVIntrinsicRecords()
619 R.PrototypeLength = SR.Prototype.size(); in createRVVIntrinsicRecords()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp331 auto Prototype = ContinuationId->getPrototype(); in buildFrom() local
332 this->RetconLowering.ResumePrototype = Prototype; in buildFrom()
370 Prototype->getFunctionType()->dump(); in buildFrom()
379 Prototype->getFunctionType()->dump(); in buildFrom()
398 Prototype->getFunctionType()->dump(); in buildFrom()
406 Prototype->getFunctionType()->dump(); in buildFrom()
/llvm-project-15.0.7/llvm/bindings/ocaml/linker/
H A Dlinker_ocaml.c25 void llvm_raise(value Prototype, char *Message);
/llvm-project-15.0.7/llvm/bindings/ocaml/irreader/
H A Dirreader_ocaml.c21 void llvm_raise(value Prototype, char *Message);
/llvm-project-15.0.7/llvm/bindings/ocaml/bitreader/
H A Dbitreader_ocaml.c22 void llvm_raise(value Prototype, char *Message);
/llvm-project-15.0.7/llvm/test/Feature/
H A Dtestvarargs.ll6 declare i32 @printf(i8*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp790 ArrayRef<PrototypeDescriptor> Prototype) { in computeTypes() argument
796 for (const PrototypeDescriptor &Proto : Prototype) { in computeTypes()
913 RVVIntrinsic::computeBuiltinTypes(llvm::ArrayRef<PrototypeDescriptor> Prototype, in computeBuiltinTypes() argument
916 SmallVector<PrototypeDescriptor> NewPrototype(Prototype.begin(), in computeBuiltinTypes()
917 Prototype.end()); in computeBuiltinTypes()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCloneDetection.cpp494 StmtSequence Prototype = HashGroup[i]; in splitCloneGroups() local
495 CloneDetector::CloneGroup PotentialGroup = {Prototype}; in splitCloneGroups()
507 if (!Compare(Prototype, Candidate)) in splitCloneGroups()
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h271 llvm::ArrayRef<PrototypeDescriptor> Prototype);
346 computeBuiltinTypes(llvm::ArrayRef<PrototypeDescriptor> Prototype,
/llvm-project-15.0.7/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c29 void llvm_raise(value Prototype, char *Message);
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1079 OverloadCandidate(FunctionProtoTypeLoc Prototype) in OverloadCandidate() argument
1080 : Kind(CK_FunctionProtoTypeLoc), ProtoTypeLoc(Prototype) { in OverloadCandidate()
1081 assert(!Prototype.isNull()); in OverloadCandidate()
H A DDeclSpec.h1764 Prototype, // Within a function prototype. enumerator
1968 return (Context == DeclaratorContext::Prototype || in isPrototypeContext()
2040 case DeclaratorContext::Prototype: in mayOmitIdentifier()
2074 case DeclaratorContext::Prototype: in mayHaveIdentifier()
2115 case DeclaratorContext::Prototype: in mayHaveDecompositionDeclarator()
2178 case DeclaratorContext::Prototype: in mayBeFollowedByCXXDirectInit()
2404 case DeclaratorContext::Prototype: in isFunctionDeclarationContext()
2440 case DeclaratorContext::Prototype: in isExpressionContext()
/llvm-project-15.0.7/llvm/docs/Proposals/
H A DVectorPredication.rst87 .. [VPRFC] RFC: Prototype & Roadmap for vector predication in LLVM,
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl03.rst287 should be used for a given Prototype. Since all function arguments in
296 the Prototype. This indicates the type, linkage and name to use, as
314 names given in the Prototype. This step isn't strictly necessary, but keeping
317 them up in the Prototype AST.
343 exists, so we'll codegen one from the Prototype. In either case, we want to
/llvm-project-15.0.7/llvm/bindings/ocaml/target/
H A Dtarget_ocaml.c28 void llvm_raise(value Prototype, char *Message);
/llvm-project-15.0.7/clang/include/clang/Basic/
H A Driscv_vector.td112 // sequence of type transformers described in Suffix and Prototype.
122 // The C/C++ prototype of the builtin is defined by the Prototype attribute.
123 // Prototype is a non-empty sequence of type transformers, the first of which
125 // builtin, in order. For instance if Prototype is "wvv" and TypeRange is "si"
148 // underscore (_). It is instantiated like Prototype.
157 // underscore (_). It is instantiated like Prototype.
165 // Prototype attribute defines the C/C++ prototype of the builtin. It is a
168 // order. For instance if Prototype is "wvv", TypeRange is "si" and LMUL=1, a
172 string Prototype = prototype;
H A Darm_neon_incl.td228 // Prototype modifiers
265 string Prototype = p;
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h46 Prototype, enumerator
/llvm-project-15.0.7/llvm/docs/TableGen/
H A DBackGuide.rst633 This example obtains the superclasses of the ``Prototype`` record and then
639 Superclasses = Prototype->getSuperClasses();
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp3469 case DeclaratorContext::Prototype: in GetDeclSpecTypeForDeclarator()
3472 if (D.getContext() == DeclaratorContext::Prototype) { in GetDeclSpecTypeForDeclarator()
3684 case DeclaratorContext::Prototype: in GetDeclSpecTypeForDeclarator()
4673 case DeclaratorContext::Prototype: in GetFullTypeForDeclarator()
5114 if (D.getContext() == DeclaratorContext::Prototype) in GetFullTypeForDeclarator()
5747 (D.getContext() == DeclaratorContext::Prototype || in GetFullTypeForDeclarator()
5759 case DeclaratorContext::Prototype: in GetFullTypeForDeclarator()
H A DSemaCodeComplete.cpp3728 const FunctionDecl *Function, const FunctionProtoType *Prototype, in AddOverloadParameterChunks() argument
3731 if (!Function && !Prototype) { in AddOverloadParameterChunks()
3738 Function ? Function->getNumParams() : Prototype->getNumParams(); in AddOverloadParameterChunks()
3749 AddOverloadParameterChunks(Context, Policy, Function, Prototype, in AddOverloadParameterChunks()
3765 assert(P < Prototype->getNumParams()); in AddOverloadParameterChunks()
3774 Placeholder = Prototype->getParamType(P).getAsString(Policy); in AddOverloadParameterChunks()
3784 if (Prototype && Prototype->isVariadic()) { in AddOverloadParameterChunks()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp4149 CallArgList &Args, PrototypeWrapper Prototype, in EmitCallArgs() argument
4154 assert((ParamsToSkip == 0 || Prototype.P) && in EmitCallArgs()
4166 if (Prototype.P) { in EmitCallArgs()
4167 const auto *MD = Prototype.P.dyn_cast<const ObjCMethodDecl *>(); in EmitCallArgs()
4175 const auto *FPT = Prototype.P.get<const FunctionProtoType *>(); in EmitCallArgs()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c75 void llvm_raise(value Prototype, char *Message) { in llvm_raise() argument
76 caml_raise_with_arg(Prototype, llvm_string_of_message(Message)); in llvm_raise()

12