Home
last modified time | relevance | path

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

12345678910>>...31

/external/llvm/lib/CodeGen/MIRParser/
DMILexer.h123 TokenKind Kind;
130 MIToken() : Kind(Error) {} in MIToken()
132 MIToken &reset(TokenKind Kind, StringRef Range);
138 TokenKind kind() const { return Kind; } in kind()
140 bool isError() const { return Kind == Error; } in isError()
142 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()
144 bool isErrorOrEOF() const { return Kind == Error || Kind == Eof; } in isErrorOrEOF()
147 return Kind == NamedRegister || Kind == underscore || in isRegister()
148 Kind == VirtualRegister; in isRegister()
152 return Kind == kw_implicit || Kind == kw_implicit_define || in isRegisterFlag()
[all …]
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCObjectWriter.cpp40 static unsigned getAbsoluteReloc(unsigned Kind) { in getAbsoluteReloc() argument
41 switch (Kind) { in getAbsoluteReloc()
51 static unsigned getPCRelReloc(unsigned Kind) { in getPCRelReloc() argument
52 switch (Kind) { in getPCRelReloc()
63 static unsigned getTLSLEReloc(unsigned Kind) { in getTLSLEReloc() argument
64 switch (Kind) { in getTLSLEReloc()
72 static unsigned getTLSLDOReloc(unsigned Kind) { in getTLSLDOReloc() argument
73 switch (Kind) { in getTLSLDOReloc()
81 static unsigned getTLSLDMReloc(unsigned Kind) { in getTLSLDMReloc() argument
82 switch (Kind) { in getTLSLDMReloc()
[all …]
DSystemZMCAsmBackend.cpp23 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value) { in extractBitsForFixup() argument
24 if (Kind < FirstTargetFixupKind) in extractBitsForFixup()
27 switch (unsigned(Kind)) { in extractBitsForFixup() local
50 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
72 SystemZMCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
79 if (Kind < FirstTargetFixupKind) in getFixupKindInfo()
80 return MCAsmBackend::getFixupKindInfo(Kind); in getFixupKindInfo()
82 assert(unsigned(Kind - FirstTargetFixupKind) < getNumFixupKinds() && in getFixupKindInfo()
84 return Infos[Kind - FirstTargetFixupKind]; in getFixupKindInfo()
90 MCFixupKind Kind = Fixup.getKind(); in applyFixup() local
[all …]
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp100 SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() argument
105 if (IsCPRel && !Kind.isReadOnly()) in getExplicitSectionGlobal()
107 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind), in getExplicitSectionGlobal()
108 getXCoreSectionFlags(Kind, IsCPRel)); in getExplicitSectionGlobal()
113 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
118 if (Kind.isText()) return TextSection; in SelectSectionForGlobal()
120 if (Kind.isMergeable1ByteCString()) return CStringSection; in SelectSectionForGlobal()
121 if (Kind.isMergeableConst4()) return MergeableConst4Section; in SelectSectionForGlobal()
122 if (Kind.isMergeableConst8()) return MergeableConst8Section; in SelectSectionForGlobal()
123 if (Kind.isMergeableConst16()) return MergeableConst16Section; in SelectSectionForGlobal()
[all …]
/external/llvm/lib/AsmParser/
DLLLexer.h38 lltok::Kind CurKind;
49 lltok::Kind Lex() { in Lex()
55 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 LexDollar();
[all …]
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp39 MCSymbolRefExpr::VariantKind Kind; in LowerSymbolOperand() local
44 case MipsII::MO_NO_FLAG: Kind = MCSymbolRefExpr::VK_None; break; in LowerSymbolOperand()
45 case MipsII::MO_GPREL: Kind = MCSymbolRefExpr::VK_Mips_GPREL; break; in LowerSymbolOperand()
46 case MipsII::MO_GOT_CALL: Kind = MCSymbolRefExpr::VK_Mips_GOT_CALL; break; in LowerSymbolOperand()
47 case MipsII::MO_GOT16: Kind = MCSymbolRefExpr::VK_Mips_GOT16; break; in LowerSymbolOperand()
48 case MipsII::MO_GOT: Kind = MCSymbolRefExpr::VK_Mips_GOT; break; in LowerSymbolOperand()
49 case MipsII::MO_ABS_HI: Kind = MCSymbolRefExpr::VK_Mips_ABS_HI; break; in LowerSymbolOperand()
50 case MipsII::MO_ABS_LO: Kind = MCSymbolRefExpr::VK_Mips_ABS_LO; break; in LowerSymbolOperand()
51 case MipsII::MO_TLSGD: Kind = MCSymbolRefExpr::VK_Mips_TLSGD; break; in LowerSymbolOperand()
52 case MipsII::MO_TLSLDM: Kind = MCSymbolRefExpr::VK_Mips_TLSLDM; break; in LowerSymbolOperand()
[all …]
DMipsTargetObjectFile.cpp77 SectionKind Kind) const { in IsGlobalInSmallSection()
79 (Kind.isData() || Kind.isBSS() || Kind.isCommon())); in IsGlobalInSmallSection()
116 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
122 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
124 if (Kind.isData() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
128 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
142 const DataLayout &DL, SectionKind Kind, const Constant *C) const { in getSectionForConstant() argument
147 return TargetLoweringObjectFileELF::getSectionForConstant(DL, Kind, C); in getSectionForConstant()
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp205 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() argument
210 Kind = getELFKindForNamedSection(SectionName, Kind); in getExplicitSectionGlobal()
213 unsigned Flags = getELFSectionFlags(Kind); in getExplicitSectionGlobal()
219 getELFSectionType(SectionName, Kind), Flags, in getExplicitSectionGlobal()
225 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal() argument
226 if (Kind.isText()) in getSectionPrefixForGlobal()
228 if (Kind.isReadOnly()) in getSectionPrefixForGlobal()
230 if (Kind.isBSS()) in getSectionPrefixForGlobal()
232 if (Kind.isThreadData()) in getSectionPrefixForGlobal()
234 if (Kind.isThreadBSS()) in getSectionPrefixForGlobal()
[all …]
/external/llvm/lib/IR/
DAttributeImpl.h57 bool hasAttribute(StringRef Kind) const;
76 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile() argument
78 ID.AddInteger(Kind); in Profile()
81 static void Profile(FoldingSetNodeID &ID, StringRef Kind, StringRef Values) { in Profile() argument
82 ID.AddString(Kind); in Profile()
99 Attribute::AttrKind Kind; variable
102 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl() argument
103 : AttributeImpl(ID), Kind(Kind) {} in EnumAttributeImpl()
106 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl() argument
107 : AttributeImpl(EnumAttrEntry), Kind(Kind) {} in EnumAttributeImpl()
[all …]
/external/llvm/include/llvm/IR/
DIntrinsics.h86 } Kind; member
105 assert(Kind == Argument || Kind == ExtendArgument || in getArgumentNumber()
106 Kind == TruncArgument || Kind == HalfVecArgument || in getArgumentNumber()
107 Kind == SameVecWidthArgument || Kind == PtrToArgument || in getArgumentNumber()
108 Kind == VecOfPtrsToElt); in getArgumentNumber()
112 assert(Kind == Argument || Kind == ExtendArgument || in getArgumentKind()
113 Kind == TruncArgument || Kind == HalfVecArgument || in getArgumentKind()
114 Kind == SameVecWidthArgument || Kind == PtrToArgument || in getArgumentKind()
115 Kind == VecOfPtrsToElt); in getArgumentKind()
/external/clang/include/clang/AST/
DAPValue.h69 ValueKind Kind;
120 APValue() : Kind(Uninitialized) {} in APValue()
121 explicit APValue(APSInt I) : Kind(Uninitialized) { in APValue()
124 explicit APValue(APFloat F) : Kind(Uninitialized) { in APValue()
127 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue()
130 APValue(APSInt R, APSInt I) : Kind(Uninitialized) { in APValue()
133 APValue(APFloat R, APFloat I) : Kind(Uninitialized) { in APValue()
137 APValue(APValue &&RHS) : Kind(Uninitialized) { swap(RHS); } in APValue()
139 : Kind(Uninitialized) { in APValue()
144 : Kind(Uninitialized) { in APValue()
[all …]
/external/clang/include/clang/Sema/
DParsedTemplate.h38 ParsedTemplateArgument() : Kind(Type), Arg(nullptr) { } 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.h156 enum Kind { enum
265 enum Kind Kind; variable
279 CodeCompletionContext(enum Kind Kind) : Kind(Kind), SelIdents(None) { } in CodeCompletionContext() argument
282 CodeCompletionContext(enum Kind Kind, QualType T,
284 : Kind(Kind), in Kind() argument
286 if (Kind == CCC_DotMemberAccess || Kind == CCC_ArrowMemberAccess || in Kind()
287 Kind == CCC_ObjCPropertyAccess || Kind == CCC_ObjCClassMessage || in Kind()
288 Kind == CCC_ObjCInstanceMessage) in Kind()
295 enum Kind getKind() const { return Kind; } in getKind()
386 ChunkKind Kind; member
[all …]
/external/llvm/include/llvm/MC/
DMCLinkerOptimizationHint.h48 static inline bool isValidMCLOHType(unsigned Kind) { in isValidMCLOHType() argument
49 return Kind >= MCLOH_AdrpAdrp && Kind <= MCLOH_AdrpLdrGot; in isValidMCLOHType()
66 static inline StringRef MCLOHIdToName(MCLOHType Kind) { in MCLOHIdToName() argument
68 switch (Kind) { in MCLOHIdToName()
81 static inline int MCLOHIdToNbArgs(MCLOHType Kind) { in MCLOHIdToNbArgs() argument
82 switch (Kind) { in MCLOHIdToNbArgs()
101 MCLOHType Kind; variable
115 MCLOHDirective(MCLOHType Kind, const LOHArgs &Args) in MCLOHDirective() argument
116 : Kind(Kind), Args(Args.begin(), Args.end()) { in MCLOHDirective()
117 assert(isValidMCLOHType(Kind) && "Invalid LOH directive type!"); in MCLOHDirective()
[all …]
DMCInst.h42 MachineOperandType Kind; variable
53 MCOperand() : Kind(kInvalid), FPImmVal(0.0) {} in MCOperand()
55 bool isValid() const { return Kind != kInvalid; } in isValid()
56 bool isReg() const { return Kind == kRegister; } in isReg()
57 bool isImm() const { return Kind == kImmediate; } in isImm()
58 bool isFPImm() const { return Kind == kFPImmediate; } in isFPImm()
59 bool isExpr() const { return Kind == kExpr; } in isExpr()
60 bool isInst() const { return Kind == kInst; } in isInst()
113 Op.Kind = kRegister; in createReg()
119 Op.Kind = kImmediate; in createImm()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h31 } Kind; member
70 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
88 assert(Kind == Token && "Invalid access!"); in getToken()
92 assert(Kind == Token && "Invalid access!"); in setTokenValue()
98 assert(Kind == Register && "Invalid access!"); in getReg()
103 assert(Kind == Immediate && "Invalid access!"); in getImm()
108 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
112 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
116 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
120 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h56 TokenKind Kind;
66 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) in AsmToken() argument
67 : Kind(Kind), Str(Str), IntVal(IntVal) {} in AsmToken()
68 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0)
69 : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {} in Kind() function
71 TokenKind getKind() const { return Kind; } in getKind()
72 bool is(TokenKind K) const { return Kind == K; } in is()
73 bool isNot(TokenKind K) const { return Kind != K; } in isNot()
81 assert(Kind == String && "This token isn't a string!"); in getStringContents()
90 if (Kind == Identifier) in getIdentifier()
[all …]
/external/clang/lib/Basic/
DOpenMPKinds.cpp31 const char *clang::getOpenMPDirectiveName(OpenMPDirectiveKind Kind) { in getOpenMPDirectiveName() argument
32 assert(Kind <= OMPD_unknown); in getOpenMPDirectiveName()
33 switch (Kind) { in getOpenMPDirectiveName()
61 const char *clang::getOpenMPClauseName(OpenMPClauseKind Kind) { in getOpenMPClauseName() argument
62 assert(Kind <= OMPC_unknown); in getOpenMPClauseName()
63 switch (Kind) { in getOpenMPClauseName()
76 unsigned clang::getOpenMPSimpleClauseType(OpenMPClauseKind Kind, in getOpenMPSimpleClauseType() argument
78 switch (Kind) { in getOpenMPSimpleClauseType()
150 const char *clang::getOpenMPSimpleClauseTypeName(OpenMPClauseKind Kind, in getOpenMPSimpleClauseTypeName() argument
152 switch (Kind) { in getOpenMPSimpleClauseTypeName()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp70 SectionKind Kind) const { in IsGlobalInSmallSection()
76 if (Kind.isBSS() || Kind.isData() || Kind.isCommon()) { in IsGlobalInSmallSection()
87 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
91 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
93 if (Kind.isData() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
97 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
/external/clang/lib/Parse/
DParseOpenMP.cpp344 bool Parser::ParseOpenMPSimpleVarList(OpenMPDirectiveKind Kind, in ParseOpenMPSimpleVarList() argument
351 getOpenMPDirectiveName(Kind))) in ParseOpenMPSimpleVarList()
586 OMPClause *Parser::ParseOpenMPSingleExprClause(OpenMPClauseKind Kind) { in ParseOpenMPSingleExprClause() argument
591 getOpenMPClauseName(Kind))) in ParseOpenMPSingleExprClause()
606 Kind, Val.get(), Loc, T.getOpenLocation(), T.getCloseLocation()); in ParseOpenMPSingleExprClause()
617 OMPClause *Parser::ParseOpenMPSimpleClause(OpenMPClauseKind Kind) { in ParseOpenMPSimpleClause() argument
623 getOpenMPClauseName(Kind))) in ParseOpenMPSimpleClause()
627 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSimpleClause()
636 return Actions.ActOnOpenMPSimpleClause(Kind, Type, TypeLoc, LOpen, Loc, in ParseOpenMPSimpleClause()
666 OMPClause *Parser::ParseOpenMPClause(OpenMPClauseKind Kind) { in ParseOpenMPClause() argument
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h60 LocationKind Kind;
67 Location() : Kind(LK_Null) {} in Location()
69 Kind(LK_Source), SourceLoc(Loc) {} in Location()
71 Kind(LK_Memory), MemoryLoc(Loc) {} in Location()
74 Kind(LK_Symbolized), SymbolizedLoc(Stack.get()) {} in Location()
76 LocationKind getKind() const { return Kind; } in getKind()
78 bool isSourceLocation() const { return Kind == LK_Source; } in isSourceLocation()
79 bool isMemoryLocation() const { return Kind == LK_Memory; } in isMemoryLocation()
80 bool isSymbolizedStack() const { return Kind == LK_Symbolized; } in isSymbolizedStack()
154 Arg(const char *String) : Kind(AK_String), String(String) {} in Arg()
[all …]
/external/clang/lib/AST/
DComment.cpp27 case CLASS##Kind: \ in getCommentKindName()
74 case CLASS##Kind: \ in child_begin()
88 case CLASS##Kind: \ in child_end()
133 Kind = OtherKind; in fill()
148 Decl::Kind K = CommentDecl->getKind(); in fill()
159 Kind = FunctionKind; in fill()
179 Kind = FunctionKind; in fill()
189 Kind = FunctionKind; in fill()
199 Kind = ClassKind; in fill()
207 Kind = ClassKind; in fill()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafety.h82 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {} in handleInvalidLockExp() argument
90 virtual void handleUnmatchedUnlock(StringRef Kind, Name LockName, in handleUnmatchedUnlock() argument
102 virtual void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
111 virtual void handleDoubleLock(StringRef Kind, Name LockName, in handleDoubleLock() argument
127 virtual void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
140 virtual void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
150 virtual void handleNoMutexHeld(StringRef Kind, const NamedDecl *D, in handleNoMutexHeld() argument
163 virtual void handleMutexNotHeld(StringRef Kind, const NamedDecl *D,
175 virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
185 virtual void handleFunExcludesLock(StringRef Kind, Name FunName, in handleFunExcludesLock() argument
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.h106 const VariantKind Kind; variable
108 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr() argument
109 : Expr(Expr), Kind(Kind) {} in AArch64MCExpr()
115 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind,
123 VariantKind getKind() const { return Kind; } in getKind()
132 static VariantKind getSymbolLoc(VariantKind Kind) { in getSymbolLoc() argument
133 return static_cast<VariantKind>(Kind & VK_SymLocBits); in getSymbolLoc()
136 static VariantKind getAddressFrag(VariantKind Kind) { in getAddressFrag() argument
137 return static_cast<VariantKind>(Kind & VK_AddressFragBits); in getAddressFrag()
140 static bool isNotChecked(VariantKind Kind) { return Kind & VK_NC; } in isNotChecked() argument
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.h62 const VariantKind Kind;
65 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr() argument
66 : Kind(Kind), Expr(Expr) {} in SparcMCExpr()
72 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
79 VariantKind getKind() const { return Kind; } in getKind()
85 Sparc::Fixups getFixupKind() const { return getFixupKind(Kind); } in getFixupKind()
106 static bool printVariantKind(raw_ostream &OS, VariantKind Kind);
107 static Sparc::Fixups getFixupKind(VariantKind Kind);

12345678910>>...31