Home
last modified time | relevance | path

Searched refs:Kind (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp175 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, in getExplicitSectionGlobal() argument
180 Kind = getELFKindForNamedSection(SectionName, Kind); in getExplicitSectionGlobal()
183 getELFSectionType(SectionName, Kind), in getExplicitSectionGlobal()
184 getELFSectionFlags(Kind), Kind); in getExplicitSectionGlobal()
189 static const char *getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal() argument
190 if (Kind.isText()) return ".text."; in getSectionPrefixForGlobal()
191 if (Kind.isReadOnly()) return ".rodata."; in getSectionPrefixForGlobal()
193 if (Kind.isThreadData()) return ".tdata."; in getSectionPrefixForGlobal()
194 if (Kind.isThreadBSS()) return ".tbss."; in getSectionPrefixForGlobal()
196 if (Kind.isDataNoRel()) return ".data."; in getSectionPrefixForGlobal()
[all …]
/external/clang/include/clang/AST/
DTemplateBase.h71 unsigned Kind;
93 TemplateArgument() : Kind(Null), TypeOrValue(0) { } in TemplateArgument()
96 TemplateArgument(QualType T) : Kind(Type) { in TemplateArgument()
103 TemplateArgument(Decl *D) : Kind(Declaration) { in TemplateArgument()
109 TemplateArgument(const llvm::APSInt &Value, QualType Type) : Kind(Integral) { in TemplateArgument()
124 TemplateArgument(TemplateName Name) : Kind(Template) in TemplateArgument()
142 : Kind(TemplateExpansion) in TemplateArgument()
156 TemplateArgument(Expr *E) : Kind(Expression) { in TemplateArgument()
164 TemplateArgument(const TemplateArgument *Args, unsigned NumArgs) : Kind(Pack){ in TemplateArgument()
170 TemplateArgument(const TemplateArgument &Other) : Kind(Other.Kind) { in TemplateArgument()
[all …]
DAPValue.h41 ValueKind Kind;
70 APValue() : Kind(Uninitialized) {} in APValue()
71 explicit APValue(const APSInt &I) : Kind(Uninitialized) { in APValue()
74 explicit APValue(const APFloat &F) : Kind(Uninitialized) { in APValue()
77 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue()
80 APValue(const APSInt &R, const APSInt &I) : Kind(Uninitialized) { in APValue()
83 APValue(const APFloat &R, const APFloat &I) : Kind(Uninitialized) { in APValue()
86 APValue(const APValue &RHS) : Kind(Uninitialized) { in APValue()
89 APValue(const Expr* B, const CharUnits &O) : Kind(Uninitialized) { in APValue()
98 ValueKind getKind() const { return Kind; } in getKind()
[all …]
/external/llvm/lib/AsmParser/
DLLLexer.h38 lltok::Kind CurKind;
51 lltok::Kind Lex() { in Lex()
57 lltok::Kind getKind() const { return CurKind; } in getKind()
70 lltok::Kind LexToken();
74 lltok::Kind ReadString(lltok::Kind kind);
77 lltok::Kind LexIdentifier();
78 lltok::Kind LexDigitOrNegative();
79 lltok::Kind LexPositive();
80 lltok::Kind LexAt();
81 lltok::Kind LexExclaim();
[all …]
/external/clang/include/clang/Sema/
DInitialization.h79 EntityKind Kind;
127 : Kind(EK_Variable), Parent(0), Type(Var->getType()), in InitializedEntity()
133 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
135 : Kind(Kind), Parent(0), Type(Type) in Kind() function
143 : Kind(EK_Member), Parent(Parent), Type(Member->getType()), in InitializedEntity()
163 Entity.Kind = EK_Parameter; in InitializeParameter()
178 Entity.Kind = EK_Parameter; in InitializeParameter()
250 EntityKind getKind() const { return Kind; } in getKind()
263 if (Kind == EK_Temporary) in getTypeSourceInfo()
350 StoredInitKind Kind; variable
[all …]
DParsedTemplate.h38 ParsedTemplateArgument() : Kind(Type), Arg(0) { } in ParsedTemplateArgument()
44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) in ParsedTemplateArgument() argument
45 : Kind(Kind), Arg(Arg), Loc(Loc) { } in ParsedTemplateArgument()
59 : Kind(ParsedTemplateArgument::Template), in ParsedTemplateArgument()
67 KindType getKind() const { return Kind; } in getKind()
71 assert(Kind == Type && "Not a template type argument"); in getAsType()
77 assert(Kind == NonType && "Not a non-type template argument"); in getAsExpr()
83 assert(Kind == Template && "Not a template template argument"); in getAsTemplate()
93 assert(Kind == Template && in getScopeSpec()
101 assert(Kind == Template && in getEllipsisLoc()
[all …]
DCodeCompleteConsumer.h159 enum Kind { enum
267 enum Kind Kind; variable
278 CodeCompletionContext(enum Kind Kind) : Kind(Kind) { } in CodeCompletionContext() argument
281 CodeCompletionContext(enum Kind Kind, QualType T) : Kind(Kind) { in CodeCompletionContext() argument
282 if (Kind == CCC_DotMemberAccess || Kind == CCC_ArrowMemberAccess || in CodeCompletionContext()
283 Kind == CCC_ObjCPropertyAccess) in CodeCompletionContext()
290 enum Kind getKind() const { return Kind; } in getKind()
378 ChunkKind Kind; member
393 Chunk() : Kind(CK_Text), Text(0) { } in Chunk()
395 Chunk(ChunkKind Kind, const char *Text = "");
[all …]
DDelayedDiagnostic.h117 unsigned char Kind; // actually a DDKind variable
131 DD.Kind = Access; in makeAccess()
143 DD.Kind = ForbiddenType; in makeForbiddenType()
153 assert(Kind == Access && "Not an access diagnostic."); in getAccessData()
157 assert(Kind == Access && "Not an access diagnostic."); in getAccessData()
162 assert(Kind == Deprecation && "Not a deprecation diagnostic."); in getDeprecationDecl()
167 assert(Kind == Deprecation && "Not a deprecation diagnostic."); in getDeprecationMessage()
177 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic"); in getForbiddenTypeDiagnostic()
182 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic"); in getForbiddenTypeArgument()
187 assert(Kind == ForbiddenType && "not a forbidden-type diagnostic"); in getForbiddenTypeOperand()
/external/llvm/lib/Target/MBlaze/
DMBlazeTargetObjectFile.cpp57 SectionKind Kind) const { in IsGlobalInSmallSection()
64 if (!Kind.isBSS() && !Kind.isDataRel()) in IsGlobalInSmallSection()
69 if (Kind.isMergeable1ByteCString()) in IsGlobalInSmallSection()
77 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument
83 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
85 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
89 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp61 SectionKind Kind) const { in IsGlobalInSmallSection()
74 if (!Kind.isBSS() && !Kind.isDataRel()) in IsGlobalInSmallSection()
79 if (Kind.isMergeable1ByteCString()) in IsGlobalInSmallSection()
89 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument
95 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
97 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
101 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
DMipsMCInstLower.cpp33 MipsMCSymbolRefExpr::VariantKind Kind; in LowerSymbolOperand() local
39 case MipsII::MO_NO_FLAG: Kind = MipsMCSymbolRefExpr::VK_Mips_None; break; in LowerSymbolOperand()
40 case MipsII::MO_GPREL: Kind = MipsMCSymbolRefExpr::VK_Mips_GPREL; break; in LowerSymbolOperand()
41 case MipsII::MO_GOT_CALL: Kind = MipsMCSymbolRefExpr::VK_Mips_GOT_CALL; break; in LowerSymbolOperand()
42 case MipsII::MO_GOT: Kind = MipsMCSymbolRefExpr::VK_Mips_GOT; break; in LowerSymbolOperand()
43 case MipsII::MO_ABS_HI: Kind = MipsMCSymbolRefExpr::VK_Mips_ABS_HI; break; in LowerSymbolOperand()
44 case MipsII::MO_ABS_LO: Kind = MipsMCSymbolRefExpr::VK_Mips_ABS_LO; break; in LowerSymbolOperand()
45 case MipsII::MO_TLSGD: Kind = MipsMCSymbolRefExpr::VK_Mips_TLSGD; break; in LowerSymbolOperand()
46 case MipsII::MO_GOTTPREL: Kind = MipsMCSymbolRefExpr::VK_Mips_GOTTPREL; break; in LowerSymbolOperand()
47 case MipsII::MO_TPREL_HI: Kind = MipsMCSymbolRefExpr::VK_Mips_TPREL_HI; break; in LowerSymbolOperand()
[all …]
/external/clang/lib/Sema/
DSemaCXXCast.cpp53 CastKind &Kind);
57 CastKind &Kind,
63 CastKind &Kind,
82 CastKind &Kind,
89 CastKind &Kind,
95 CastKind &Kind,
102 CastKind &Kind,
109 CastKind &Kind,
117 CastKind &Kind);
123 CastKind &Kind,
[all …]
DSemaInit.cpp279 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, in FillInValueInitForField() local
281 InitializationSequence InitSeq(SemaRef, MemberEntity, Kind, 0, 0); in FillInValueInitForField()
283 InitSeq.Diagnose(SemaRef, MemberEntity, Kind, 0, 0); in FillInValueInitForField()
289 = InitSeq.Perform(SemaRef, MemberEntity, Kind, MultiExprArg()); in FillInValueInitForField()
387 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, in FillInValueInitializations() local
389 InitializationSequence InitSeq(SemaRef, ElementEntity, Kind, 0, 0); in FillInValueInitializations()
391 InitSeq.Diagnose(SemaRef, ElementEntity, Kind, 0, 0); in FillInValueInitializations()
397 = InitSeq.Perform(SemaRef, ElementEntity, Kind, MultiExprArg()); in FillInValueInitializations()
720 InitializationKind Kind = in CheckSubElementType() local
722 InitializationSequence Seq(SemaRef, Entity, Kind, &expr, 1); in CheckSubElementType()
[all …]
/external/android-mock/src/com/google/android/testing/mocking/
DUsesMocksProcessor.java38 import javax.tools.Diagnostic.Kind;
78 logger.printMessage(Kind.ERROR, e); in process()
94 logger.printMessage(Kind.NOTE, "Found " + classesToMock.size() + " classes to mock"); in getMocksFor()
98 logger.printMessage(Kind.NOTE, "Regenerating Framework Mocks on Request"); in getMocksFor()
102 logger.printMessage(Kind.NOTE, "Found " + mockedClassesSet.size() in getMocksFor()
113 logger.printMessage(Kind.NOTE, "Start Processing Annotations"); in getClassesToMock()
134 logger.printMessage(Kind.NOTE, "Processing " + annotatedElements); in findClassesToMock()
146 logger.printMessage(Kind.NOTE, "Adding Class to Mocking List: " + className); in findClassesToMock()
173 logger.printMessage(Kind.NOTE, "Mocking " + clazz); in getClassMocks()
204 logger.printMessage(Kind.NOTE, "Saving " + clazz.getClassName()); in writeMocks()
[all …]
DProcessorLogger.java31 import javax.tools.Diagnostic.Kind;
52 printMessage(Kind.ERROR, "Could not find " + clazz); in reportClasspathError()
53 printMessage(Kind.ERROR, e); in reportClasspathError()
54 printMessage(Kind.NOTE, "Known Classpath: "); in reportClasspathError()
57 printMessage(Kind.NOTE, url.toString()); in reportClasspathError()
61 void printMessage(Kind kind, String message) { in printMessage()
69 processingEnv.getMessager().printMessage(Kind.WARNING, in printMessage()
75 void printMessage(Kind kind, Throwable e) { in printMessage()
92 printMessage(Kind.WARNING, e); in openLogFile()
/external/llvm/include/llvm/MC/
DMCInst.h39 unsigned char Kind; variable
49 MCOperand() : Kind(kInvalid), FPImmVal(0.0) {} in MCOperand()
51 bool isValid() const { return Kind != kInvalid; } in isValid()
52 bool isReg() const { return Kind == kRegister; } in isReg()
53 bool isImm() const { return Kind == kImmediate; } in isImm()
54 bool isFPImm() const { return Kind == kFPImmediate; } in isFPImm()
55 bool isExpr() const { return Kind == kExpr; } in isExpr()
99 Op.Kind = kRegister; in CreateReg()
105 Op.Kind = kImmediate; in CreateImm()
111 Op.Kind = kFPImmediate; in CreateFPImm()
[all …]
DMCFixup.h62 unsigned Kind; variable
66 MCFixupKind Kind) { in Create() argument
67 assert(unsigned(Kind) < MaxTargetFixupKind && "Kind out of range!"); in Create()
71 FI.Kind = unsigned(Kind); in Create()
75 MCFixupKind getKind() const { return MCFixupKind(Kind); } in getKind()
/external/llvm/utils/TableGen/
DCodeGenInstruction.h33 enum { None, EarlyClobber, Tied } Kind; variable
36 ConstraintInfo() : Kind(None) {} in ConstraintInfo()
40 I.Kind = EarlyClobber; in getEarlyClobber()
47 I.Kind = Tied; in getTied()
52 bool isNone() const { return Kind == None; } in isNone()
53 bool isEarlyClobber() const { return Kind == EarlyClobber; } in isEarlyClobber()
54 bool isTied() const { return Kind == Tied; } in isTied()
291 } Kind; member
293 ResultOperand(StringRef N, Record *r) : Name(N), R(r), Kind(K_Record) {} in ResultOperand()
294 ResultOperand(int64_t I) : Imm(I), Kind(K_Imm) {} in ResultOperand()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h57 TokenKind Kind; variable
68 : Kind(_Kind), Str(_Str), IntVal(_IntVal) {} in Kind() function
70 TokenKind getKind() const { return Kind; } in getKind()
71 bool is(TokenKind K) const { return Kind == K; } in is()
72 bool isNot(TokenKind K) const { return Kind != K; } in isNot()
78 assert(Kind == String && "This token isn't a string!"); in getStringContents()
87 if (Kind == Identifier) in getIdentifier()
103 assert(Kind == Integer && "This token isn't an integer!"); in getIntVal()
110 assert(Kind == Register && "This token isn't a register!"); in getRegVal()
/external/clang/lib/Driver/
DInputInfo.h40 Class Kind; variable
47 : Kind(Nothing), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
54 : Kind(InputArg), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
58 bool isNothing() const { return Kind == Nothing; } in isNothing()
59 bool isFilename() const { return Kind == Filename; } in isFilename()
60 bool isInputArg() const { return Kind == InputArg; } in isInputArg()
DOptTable.cpp58 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <()
60 return B.Kind == Option::JoinedClass; in operator <()
90 unsigned Kind = getInfo(i + 1).Kind; in OptTable() local
91 if (Kind == Option::InputClass) { in OptTable()
94 } else if (Kind == Option::UnknownClass) { in OptTable()
97 } else if (Kind != Option::GroupClass) { in OptTable()
108 Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind; in OptTable() local
109 assert((Kind != Option::InputClass && Kind != Option::UnknownClass && in OptTable()
110 Kind != Option::GroupClass) && in OptTable()
138 switch (info.Kind) { in CreateOption()
[all …]
/external/clang/lib/AST/
DAPValue.cpp28 APValue::APValue(const Expr* B) : Kind(Uninitialized) { in APValue()
33 if (Kind != RHS.Kind) { in operator =()
65 if (Kind == Int) in MakeUninit()
67 else if (Kind == Float) in MakeUninit()
69 else if (Kind == Vector) in MakeUninit()
71 else if (Kind == ComplexInt) in MakeUninit()
73 else if (Kind == ComplexFloat) in MakeUninit()
75 else if (Kind == LValue) { in MakeUninit()
78 Kind = Uninitialized; in MakeUninit()
185 Kind = LValue; in MakeLValue()
/external/clang/lib/Lex/
DLexer.cpp2090 tok::TokenKind Kind; in LexTokenInternal() local
2125 Kind = tok::unknown; in LexTokenInternal()
2142 Kind = tok::eod; in LexTokenInternal()
2227 Kind = tok::unknown; in LexTokenInternal()
2244 Kind = tok::question; in LexTokenInternal()
2247 Kind = tok::l_square; in LexTokenInternal()
2250 Kind = tok::r_square; in LexTokenInternal()
2253 Kind = tok::l_paren; in LexTokenInternal()
2256 Kind = tok::r_paren; in LexTokenInternal()
2259 Kind = tok::l_brace; in LexTokenInternal()
[all …]
/external/clang/lib/Basic/
DTokenKinds.cpp26 const char *tok::getTokenName(enum TokenKind Kind) { in getTokenName() argument
27 assert(Kind < tok::NUM_TOKENS); in getTokenName()
28 return TokNames[Kind]; in getTokenName()
31 const char *tok::getTokenSimpleSpelling(enum TokenKind Kind) { in getTokenSimpleSpelling() argument
32 switch (Kind) { in getTokenSimpleSpelling()
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h45 virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
49 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
53 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
77 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
81 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
84 virtual const MCSection *getSectionForConstant(SectionKind Kind) const;
117 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
121 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,

12345678910>>...15