Home
last modified time | relevance | path

Searched refs:Argument (Results 1 – 25 of 150) sorted by relevance

123456

/external/clang/include/clang/AST/
DTemplateBase.h375 TemplateArgument Argument; variable
381 TemplateArgumentLoc(const TemplateArgument &Argument, in TemplateArgumentLoc() argument
383 : Argument(Argument), LocInfo(Opaque) { in TemplateArgumentLoc()
386 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc() argument
387 : Argument(Argument), LocInfo(TInfo) { in TemplateArgumentLoc()
388 assert(Argument.getKind() == TemplateArgument::Type); in TemplateArgumentLoc()
391 TemplateArgumentLoc(const TemplateArgument &Argument, Expr *E) in TemplateArgumentLoc() argument
392 : Argument(Argument), LocInfo(E) { in TemplateArgumentLoc()
393 assert(Argument.getKind() == TemplateArgument::Expression); in TemplateArgumentLoc()
396 TemplateArgumentLoc(const TemplateArgument &Argument,
[all …]
DComment.h272 struct Argument { struct
276 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } in Argument() argument
290 llvm::ArrayRef<Argument> Args;
297 llvm::ArrayRef<Argument> Args) : in InlineCommandComment()
575 struct Argument { struct
579 Argument() { } in Argument() argument
580 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } in Argument() argument
585 llvm::ArrayRef<Argument> Args;
655 void setArgs(llvm::ArrayRef<Argument> A) { in setArgs()
/external/llvm/include/llvm/
DFunction.h53 template<> struct ilist_traits<Argument>
54 : public SymbolTableListTraits<Argument, Function> {
56 Argument *createSentinel() const {
57 return static_cast<Argument*>(&Sentinel);
59 static void destroySentinel(Argument*) {}
61 Argument *provideInitialHead() const { return createSentinel(); }
62 Argument *ensureHead(Argument*) const { return createSentinel(); }
63 static void noteHead(Argument*, Argument*) {}
67 mutable ilist_half_node<Argument> Sentinel;
73 typedef iplist<Argument> ArgumentListType;
[all …]
DArgument.h32 class Argument : public Value, public ilist_node<Argument> {
36 friend class SymbolTableListTraits<Argument, Function>;
43 explicit Argument(Type *Ty, const Twine &Name = "", Function *F = 0);
84 static inline bool classof(const Argument *) { return true; } in classof() argument
DIntrinsics.h84 Argument, ExtendVecArgument, TruncVecArgument enumerator
103 assert(Kind == Argument || Kind == ExtendVecArgument || in getArgumentNumber()
108 assert(Kind == Argument || Kind == ExtendVecArgument || in getArgumentKind()
/external/clang/lib/Basic/
DDiagnostic.cpp26 const char *Argument, unsigned ArgLen, in DummyArgToStringFn() argument
477 const char *Argument, unsigned ArgumentLen, in HandleSelectModifier() argument
479 const char *ArgumentEnd = Argument+ArgumentLen; in HandleSelectModifier()
483 const char *NextVal = ScanFormat(Argument, ArgumentEnd, '|'); in HandleSelectModifier()
486 Argument = NextVal+1; // Skip this string. in HandleSelectModifier()
491 const char *EndPtr = ScanFormat(Argument, ArgumentEnd, '|'); in HandleSelectModifier()
494 DInfo.FormatDiagnostic(Argument, EndPtr, OutStr); in HandleSelectModifier()
635 const char *Argument, unsigned ArgumentLen, in HandlePluralModifier() argument
637 const char *ArgumentEnd = Argument + ArgumentLen; in HandlePluralModifier()
639 assert(Argument < ArgumentEnd && "Plural expression didn't match."); in HandlePluralModifier()
[all …]
/external/llvm/lib/VMCore/
DFunction.cpp34 template class llvm::SymbolTableListTraits<Argument, Function>;
41 void Argument::anchor() { } in anchor()
43 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) in Argument() function in Argument
55 void Argument::setParent(Function *parent) { in setParent()
65 unsigned Argument::getArgNo() const { in getArgNo()
79 bool Argument::hasByValAttr() const { in hasByValAttr()
84 unsigned Argument::getParamAlignment() const { in getParamAlignment()
92 bool Argument::hasNestAttr() const { in hasNestAttr()
99 bool Argument::hasNoAliasAttr() const { in hasNoAliasAttr()
106 bool Argument::hasNoCaptureAttr() const { in hasNoCaptureAttr()
[all …]
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp95 class Argument { class
100 Argument(Record &Arg, StringRef Attr) in Argument() function in __anonff05ad270111::Argument
108 virtual ~Argument() {} in ~Argument()
130 class SimpleArgument : public Argument {
135 : Argument(Arg, Attr), type(T) in SimpleArgument()
186 class StringArgument : public Argument {
189 : Argument(Arg, Attr) in StringArgument()
246 class AlignedArgument : public Argument {
249 : Argument(Arg, Attr) in AlignedArgument()
358 class VariadicArgument : public Argument {
[all …]
/external/clang/test/Analysis/
Dvariadic-method-types.m77 …[NSArray arrayWithObjects:@"Foo", "Bar", "Baz", nil]; // expected-warning {{Argument to 'NSArray' …
78 …[NSDictionary dictionaryWithObjectsAndKeys:@"Foo", "Bar", nil]; // expected-warning {{Argument to …
79 …[NSSet setWithObjects:@"Foo", "Bar", nil]; // expected-warning {{Argument to 'NSSet' method 'setWi…
80 …[NSOrderedSet orderedSetWithObjects:@"Foo", "Bar", nil]; // expected-warning {{Argument to 'NSOrde…
82 …initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSArray' meth…
83 …hObjectsAndKeys:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSDictionary'…
87 …bjectsAndKeys:@"Foo", barType, nil] autorelease]; // expected-warning {{Argument to 'NSDictionary'…
88 …[[[NSSet alloc] initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument t…
89 …initWithObjects:@"Foo", "Bar", nil] autorelease]; // expected-warning {{Argument to 'NSOrderedSet'…
DNSString.m98 …return [s compare:aString]; // expected-warning {{Argument to 'NSString' method 'compare:' cannot …
103 …return [s caseInsensitiveCompare:aString]; // expected-warning {{Argument to 'NSString' method 'ca…
108 …return [s compare:aString options:op]; // expected-warning {{Argument to 'NSString' method 'compar…
113 …return [s compare:aString options:op range:R]; // expected-warning {{Argument to 'NSString' method…
118 …return [s compare:aString options:op range:R locale:0]; // expected-warning {{Argument to 'NSStrin…
122 …return [s componentsSeparatedByCharactersInSet:0]; // expected-warning {{Argument to 'NSString' me…
190 [s compare:0]; // expected-warning {{Argument to 'MyString' method 'compare:' cannot be nil}}
/external/clang/lib/AST/
DCommentSema.cpp52 ArrayRef<BlockCommandComment::Argument> Args) { in actOnBlockCommandArgs()
144 typedef BlockCommandComment::Argument Argument; in actOnParamCommandParamNameArg() typedef
145 Argument *A = new (Allocator) Argument(SourceRange(ArgLocBegin, in actOnParamCommandParamNameArg()
178 typedef BlockCommandComment::Argument Argument; in actOnTParamCommandParamNameArg() typedef
179 Argument *A = new (Allocator) Argument(SourceRange(ArgLocBegin, in actOnTParamCommandParamNameArg()
243 ArrayRef<InlineCommandComment::Argument> Args; in actOnInlineCommand()
259 typedef InlineCommandComment::Argument Argument; in actOnInlineCommand() typedef
260 Argument *A = new (Allocator) Argument(SourceRange(ArgLocBegin, in actOnInlineCommand()
276 ArrayRef<InlineCommandComment::Argument> Args; in actOnUnknownCommand()
DTemplateBase.cpp407 switch (Argument.getKind()) { in getSourceRange()
445 assert(Argument.isPackExpansion()); in getPackExpansionPattern()
447 switch (Argument.getKind()) { in getPackExpansionPattern()
478 = cast<PackExpansionExpr>(Argument.getAsExpr()); in getPackExpansionPattern()
487 NumExpansions = Argument.getNumTemplateExpansions(); in getPackExpansionPattern()
488 return TemplateArgumentLoc(Argument.getPackExpansionPattern(), in getPackExpansionPattern()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp199 if (isa<Constant>(V) || isa<Argument>(V)) { in PropagateConstantReturn()
240 if (Argument *A = dyn_cast<Argument>(New)) in PropagateConstantReturn()
266 if (Argument *A = dyn_cast<Argument>(New)) in PropagateConstantReturn()
DFunctionAttrs.cpp234 Argument *Definition;
241 typedef std::map<Argument*, ArgumentGraphNode> ArgumentMapTy;
262 ArgumentGraphNode *operator[](Argument *A) { in operator []()
306 SmallVector<Argument*, 4> Uses; // Uses within our SCC.
399 for (SmallVectorImpl<Argument*>::iterator UI = Tracker.Uses.begin(), in AddNoCaptureAttrs()
442 SmallPtrSet<Argument*, 8> ArgumentSCCNodes; in AddNoCaptureAttrs()
455 Argument *A = (*UI)->Definition; in AddNoCaptureAttrs()
465 Argument *A = ArgumentSCC[i]->Definition; in AddNoCaptureAttrs()
494 if (isa<Argument>(RetVal)) in IsFunctionMallocLike()
DArgumentPromotion.cpp78 bool isSafeToPromoteArgument(Argument *Arg, bool isByVal) const;
80 SmallPtrSet<Argument*, 8> &ArgsToPromote,
81 SmallPtrSet<Argument*, 8> &ByValArgsToTransform);
129 SmallVector<std::pair<Argument*, unsigned>, 16> PointerArgs; in PromoteArguments()
134 PointerArgs.push_back(std::pair<Argument*, unsigned>(I, ArgNo)); in PromoteArguments()
153 SmallPtrSet<Argument*, 8> ArgsToPromote; in PromoteArguments()
154 SmallPtrSet<Argument*, 8> ByValArgsToTransform; in PromoteArguments()
157 Argument *PtrArg = PointerArgs[i].first; in PromoteArguments()
220 static bool AllCallersPassInValidPointerForArgument(Argument *Arg) { in AllCallersPassInValidPointerForArgument()
308 bool ArgPromotion::isSafeToPromoteArgument(Argument *Arg, bool isByVal) const { in isSafeToPromoteArgument()
[all …]
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h83 DenseMap<const Argument*, int> ByValArgFrameIndexMap;
202 void setArgumentFrameIndex(const Argument *A, int FI);
205 int getArgumentFrameIndex(const Argument *A);
/external/clang/include/clang/Basic/
DAttr.td45 class Argument<string name> {
49 class BoolArgument<string name> : Argument<name>;
50 class IdentifierArgument<string name> : Argument<name>;
51 class IntArgument<string name> : Argument<name>;
52 class StringArgument<string name> : Argument<name>;
53 class ExprArgument<string name> : Argument<name>;
54 class FunctionArgument<string name> : Argument<name>;
55 class TypeArgument<string name> : Argument<name>;
56 class UnsignedArgument<string name> : Argument<name>;
57 class SourceLocArgument<string name> : Argument<name>;
[all …]
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp54 V = new Argument(Type::getInt32Ty(context)); in TEST_F()
124 V = new Argument(Type::getInt32PtrTy(context)); in TEST_F()
137 V = new Argument(Type::getInt32Ty(context)); in TEST_F()
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h149 DD.ForbiddenTypeData.Argument = argument; in makeForbiddenType()
184 return ForbiddenTypeData.Argument; in getForbiddenTypeArgument()
208 unsigned Argument; member
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll55 %struct.iplist = type { %struct.ilist_traits, %struct.Argument* }
57 %struct.ilist_half_node = type { %struct.Argument* }
58 %struct.Argument = type { %struct.Value, %struct.ilist_node, %struct.Function* }
59 %struct.ilist_node = type { %struct.ilist_half_node, %struct.Argument* }
/external/llvm/test/Transforms/IndVarSimplify/
D2004-04-05-InvokeCastCrash.ll14 …%"struct.llvm::Argument" = type { %"struct.llvm::Value", %"struct.llvm::Function"*, %"struct.llvm:…
18 …aits<llvm::BasicBlock> >", %"struct.llvm::iplist<llvm::Argument,llvm::ilist_traits<llvm::Argument>…
40 …truct.llvm::SymbolTableListTraits<llvm::Argument,llvm::Function,llvm::Function,llvm::ilist_traits<…
56 …ts<llvm::Argument>" = type { %"struct.llvm::SymbolTableListTraits<llvm::Argument,llvm::Function,ll…
58Argument,llvm::ilist_traits<llvm::Argument> >" = type { %"struct.llvm::ilist_traits<llvm::Argument
59 …_traits<llvm::BasicBlock> >" = type { %"struct.llvm::ilist_traits<llvm::Argument>", %"struct.llvm:…
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp156 if (const Argument *arg = dyn_cast<Argument>(&val)) { in isSampler()
170 if (const Argument *arg = dyn_cast<Argument>(&val)) { in isImageReadOnly()
184 if (const Argument *arg = dyn_cast<Argument>(&val)) { in isImageWriteOnly()
/external/webkit/Source/WebCore/xml/
DXPathGrammar.y106 %type <expr> Argument
390 Argument
398 ArgumentList ',' Argument
405 Argument:
/external/libpng/contrib/pngminus/
Dmakevms.com65 $ If Argument .Eqs. "" Then Goto Exit
68 $ File = F$Element(El," ",Argument)
/external/llvm/lib/Analysis/
DDbgInfoPrinter.cpp100 if (!isa<Instruction>(V) && !isa<Argument>(V)) in findDbgDeclare()
106 else if (const Argument *A = dyn_cast<Argument>(V)) in findDbgDeclare()

123456