Home
last modified time | relevance | path

Searched refs:getKind (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/clang/include/clang/AST/
DVTableBuilder.h98 Kind getKind() const { in getKind() function
103 assert(getKind() == CK_VCallOffset && "Invalid component kind!"); in getVCallOffset()
109 assert(getKind() == CK_VBaseOffset && "Invalid component kind!"); in getVBaseOffset()
115 assert(getKind() == CK_OffsetToTop && "Invalid component kind!"); in getOffsetToTop()
121 assert(getKind() == CK_RTTI && "Invalid component kind!"); in getRTTIDecl()
127 assert(getKind() == CK_FunctionPointer); in getFunctionDecl()
133 assert((getKind() == CK_CompleteDtorPointer || in getDestructorDecl()
134 getKind() == CK_DeletingDtorPointer) && "Invalid component kind!"); in getDestructorDecl()
140 assert(getKind() == CK_UnusedFunctionPointer); in getUnusedFunctionDecl()
169 assert((getKind() == CK_VCallOffset || getKind() == CK_VBaseOffset || in getOffset()
[all …]
DDependentDiagnostic.h58 unsigned getKind() const { in getKind() function
63 assert(getKind() == Access); in isAccessToMember()
68 assert(getKind() == Access); in getAccess()
73 assert(getKind() == Access); in getAccessLoc()
78 assert(getKind() == Access); in getAccessTarget()
83 assert(getKind() == Access); in getAccessNamingClass()
88 assert(getKind() == Access); in getAccessBaseObjectType()
DTemplateBase.h231 ArgKind getKind() const { return (ArgKind)Kind; } in getKind() function
433 assert(Argument.getKind() == TemplateArgument::Type); in TemplateArgumentLoc()
438 assert(Argument.getKind() == TemplateArgument::Expression); in TemplateArgumentLoc()
446 assert(Argument.getKind() == TemplateArgument::Template || in Argument()
447 Argument.getKind() == TemplateArgument::TemplateExpansion); in Argument()
452 if (Argument.getKind() == TemplateArgument::Template || in getLocation()
453 Argument.getKind() == TemplateArgument::TemplateExpansion) in getLocation()
471 assert(Argument.getKind() == TemplateArgument::Type); in getTypeSourceInfo()
476 assert(Argument.getKind() == TemplateArgument::Expression); in getSourceExpression()
481 assert(Argument.getKind() == TemplateArgument::Declaration); in getSourceDeclExpression()
[all …]
/external/clang/include/clang/Driver/
DAction.h76 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
81 ActionClass getKind() const { return Kind; } in getKind() function
106 return A->getKind() == InputClass; in classof()
123 return A->getKind() == BindArchClass; in classof()
136 return (A->getKind() >= JobClassFirst && in classof()
137 A->getKind() <= JobClassLast); in classof()
148 return A->getKind() == PreprocessJobClass; in classof()
159 return A->getKind() == PrecompileJobClass; in classof()
170 return A->getKind() == AnalyzeJobClass; in classof()
181 return A->getKind() == MigrateJobClass; in classof()
[all …]
DOption.h101 OptionClass getKind() const { return Kind; } in getKind() function
177 return O->getKind() == Option::GroupClass; in classof()
192 return O->getKind() == Option::InputClass; in classof()
205 return O->getKind() == Option::UnknownClass; in classof()
220 return O->getKind() == Option::FlagClass; in classof()
233 return O->getKind() == Option::JoinedClass; in classof()
246 return O->getKind() == Option::SeparateClass; in classof()
259 return O->getKind() == Option::CommaJoinedClass; in classof()
280 return O->getKind() == Option::MultiArgClass; in classof()
295 return O->getKind() == Option::JoinedOrSeparateClass; in classof()
[all …]
/external/clang/include/clang/Analysis/
DProgramPoint.h79 assert(getKind() == k);
103 return ProgramPoint(getData1(), getData2(), getKind(), in withTag()
107 Kind getKind() const { in getKind() function
146 ID.AddInteger((unsigned) getKind()); in Profile()
176 return Location->getKind() == BlockEntranceKind; in classof()
194 return Location->getKind() == BlockExitKind; in classof()
210 unsigned k = Location->getKind(); in classof()
225 return Location->getKind() == PreStmtKind; in classof()
245 unsigned k = Location->getKind(); in classof()
258 return Location->getKind() == PostConditionKind; in classof()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcher.h93 KindTy getKind() const { return Kind; } in getKind() function
105 if (getKind() != M->getKind()) return false; in isEqual()
111 return ((getHashImpl() << 4) ^ getKind()) & (~0U>>1); in getHash()
124 switch (getKind()) { in isSimplePredicateNode()
146 getKind() == RecordNode || getKind() == RecordChild; in isSimplePredicateOrRecordNode()
170 if (getKind() < Other->getKind()) in isContradictory()
222 return N->getKind() == Scope; in classof()
248 return N->getKind() == RecordNode; in classof()
282 return N->getKind() == RecordChild; in classof()
301 return N->getKind() == RecordMemRef; in classof()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h153 Kind getKind() const { return kind; } in getKind() function
183 Kind k = R->getKind(); in classof()
195 Kind k = R->getKind(); in classof()
220 return R->getKind() == StaticGlobalSpaceRegionKind; in classof()
242 Kind k = R->getKind(); in classof()
261 return R->getKind() == GlobalSystemSpaceRegionKind; in classof()
281 return R->getKind() == GlobalImmutableSpaceRegionKind; in classof()
299 return R->getKind() == GlobalInternalSpaceRegionKind; in classof()
311 return R->getKind() == HeapSpaceRegionKind; in classof()
322 return R->getKind() == UnknownSpaceRegionKind; in classof()
[all …]
/external/clang/unittests/Lex/
DLexerTest.cpp92 ASSERT_EQ(tok::l_square, toks[0].getKind()); in TEST_F()
93 ASSERT_EQ(tok::identifier, toks[1].getKind()); in TEST_F()
94 ASSERT_EQ(tok::r_square, toks[2].getKind()); in TEST_F()
95 ASSERT_EQ(tok::l_square, toks[3].getKind()); in TEST_F()
96 ASSERT_EQ(tok::identifier, toks[4].getKind()); in TEST_F()
97 ASSERT_EQ(tok::r_square, toks[5].getKind()); in TEST_F()
98 ASSERT_EQ(tok::identifier, toks[6].getKind()); in TEST_F()
99 ASSERT_EQ(tok::identifier, toks[7].getKind()); in TEST_F()
100 ASSERT_EQ(tok::identifier, toks[8].getKind()); in TEST_F()
101 ASSERT_EQ(tok::identifier, toks[9].getKind()); in TEST_F()
/external/llvm/lib/MC/
DMCExpr.cpp32 switch (getKind()) { in print()
46 if (SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_HA16 || in print()
47 SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_LO16) { in print()
48 OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind()); in print()
57 if (SRE.getKind() == MCSymbolRefExpr::VK_ARM_PLT || in print()
58 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TLSGD || in print()
59 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOT || in print()
60 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTOFF || in print()
61 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TPOFF || in print()
62 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTTPOFF || in print()
[all …]
DMCSectionCOFF.cpp41 if (getKind().isText()) in PrintSwitchToSection()
43 if (getKind().isWriteable()) in PrintSwitchToSection()
79 return getKind().isText(); in UseCodeAlign()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp251 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType()
252 switch (LM.getKind()) { in getArgType()
261 switch (LM.getKind()) { in getArgType()
285 switch (LM.getKind()) { in getArgType()
310 if (LM.getKind() == LengthModifier::AsLongDouble) in getArgType()
315 switch (CS.getKind()) { in getArgType()
317 if (LM.getKind() == LengthModifier::AsWideChar) { in getArgType()
368 switch (BT->getKind()) { in fixType()
506 switch (CS.getKind()) { in hasValidPlusPrefix()
529 switch (CS.getKind()) { in hasValidAlternativeForm()
[all …]
DFormatString.cpp245 switch (BT->getKind()) { in matchesType()
263 switch (BT->getKind()) { in matchesType()
298 switch (BT->getKind()) { in matchesType()
510 switch (LM.getKind()) { in hasValidLengthModifier()
522 switch (CS.getKind()) { in hasValidLengthModifier()
537 switch (CS.getKind()) { in hasValidLengthModifier()
562 switch (CS.getKind()) { in hasValidLengthModifier()
585 switch (CS.getKind()) { in hasValidLengthModifier()
595 switch (CS.getKind()) { in hasValidLengthModifier()
610 switch (LM.getKind()) { in hasStandardLengthModifier()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp117 if ((unsigned)Fixup.getKind() != ARM::fixup_arm_ldst_pcrel_12 && in processFixupValue()
118 (unsigned)Fixup.getKind() != ARM::fixup_t2_ldst_pcrel_12 && in processFixupValue()
119 (unsigned)Fixup.getKind() != ARM::fixup_arm_adr_pcrel_12 && in processFixupValue()
120 (unsigned)Fixup.getKind() != ARM::fixup_thumb_adr_pcrel_10 && in processFixupValue()
121 (unsigned)Fixup.getKind() != ARM::fixup_t2_adr_pcrel_12 && in processFixupValue()
122 (unsigned)Fixup.getKind() != ARM::fixup_arm_thumb_cp) { in processFixupValue()
132 if (A && ((unsigned)Fixup.getKind() == ARM::fixup_arm_thumb_blx || in processFixupValue()
133 (unsigned)Fixup.getKind() == ARM::fixup_arm_thumb_bl || in processFixupValue()
134 (unsigned)Fixup.getKind() == ARM::fixup_arm_blx || in processFixupValue()
135 (unsigned)Fixup.getKind() == ARM::fixup_arm_uncondbl || in processFixupValue()
[all …]
DARMMCExpr.cpp30 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl()
33 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl()
46 switch (Value->getKind()) { in AddValueSymbols_()
/external/llvm/include/llvm/
DInlineAsm.h250 static unsigned getKind(unsigned Flags) {
254 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;}
255 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; }
256 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; }
258 return getKind(Flag) == Kind_RegDefEarlyClobber;
261 return getKind(Flag) == Kind_Clobber;
/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h164 Kind getKind() const { in getKind() function
170 return getKind() != Data; in isCtrl()
177 return getKind() == Order && Contents.Order.isNormalMemory; in isNormalMemory()
184 return getKind() == Order && Contents.Order.isMustAlias; in isMustAlias()
190 return getKind() == Order && Contents.Order.isArtificial; in isArtificial()
196 return getKind() == Data && Contents.Reg != 0; in isAssignedRegDep()
203 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in getReg()
214 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in setReg()
216 assert((getKind() != Anti || Reg != 0) && in setReg()
218 assert((getKind() != Output || Reg != 0) && in setReg()
/external/clang/include/clang/Sema/
DInitialization.h276 EntityKind getKind() const { return Kind; } in getKind() function
309 assert(getKind() == EK_Parameter && "Not a parameter"); in isParameterConsumed()
315 assert(getKind() == EK_Base && "Not a base specifier"); in getBaseSpecifier()
321 assert(getKind() == EK_Base && "Not a base specifier"); in isInheritedVirtualBase()
328 assert(getKind() == EK_Result && "No 'return' location!"); in getReturnLoc()
335 assert(getKind() == EK_Exception && "No 'throw' location!"); in getThrowLoc()
342 assert(getKind() == EK_ArrayElement || getKind() == EK_VectorElement || in setElementIndex()
343 getKind() == EK_ComplexElement); in setElementIndex()
349 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); in getCapturedVar()
356 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!"); in getCaptureLoc()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
107 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind()); in RecordX86_64Relocation()
108 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordX86_64Relocation()
154 if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in RecordX86_64Relocation()
155 Target.getSymB()->getKind() != MCSymbolRefExpr::VK_None) in RecordX86_64Relocation()
260 MCSymbolRefExpr::VariantKind Modifier = Target.getSymA()->getKind(); in RecordX86_64Relocation()
267 if (unsigned(Fixup.getKind()) == X86::reloc_riprel_4byte_movq_load) in RecordX86_64Relocation()
347 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordScatteredRelocation()
411 assert(Target.getSymA()->getKind() == MCSymbolRefExpr::VK_TLVP && in RecordTLVPRelocation()
415 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordTLVPRelocation()
[all …]
DX86ELFObjectWriter.cpp49 MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); in GetRelocType()
53 switch ((unsigned)Fixup.getKind()) { in GetRelocType()
101 switch ((unsigned)Fixup.getKind()) { in GetRelocType()
135 switch ((unsigned)Fixup.getKind()) { in GetRelocType()
158 switch ((unsigned)Fixup.getKind()) { in GetRelocType()
/external/clang/lib/AST/
DTemplateBase.cpp69 switch (getKind()) { in isDependent()
111 switch (getKind()) { in isInstantiationDependent()
152 switch (getKind()) { in isPackExpansion()
174 switch (getKind()) { in containsUnexpandedParameterPack()
265 if (getKind() != Other.getKind()) return false; in structurallyEquals()
267 switch (getKind()) { in structurallyEquals()
294 switch (getKind()) { in getPackExpansionPattern()
317 switch (getKind()) { in print()
388 switch (Argument.getKind()) { in getSourceRange()
428 switch (Argument.getKind()) { in getPackExpansionPattern()
[all …]
DType.cpp580 return BT->getKind() >= BuiltinType::Bool && in isIntegralType()
581 BT->getKind() <= BuiltinType::Int128; in isIntegralType()
593 return BT->getKind() >= BuiltinType::Bool && in isIntegralOrUnscopedEnumerationType()
594 BT->getKind() <= BuiltinType::Int128; in isIntegralOrUnscopedEnumerationType()
610 return BT->getKind() == BuiltinType::Char_U || in isCharType()
611 BT->getKind() == BuiltinType::UChar || in isCharType()
612 BT->getKind() == BuiltinType::Char_S || in isCharType()
613 BT->getKind() == BuiltinType::SChar; in isCharType()
619 return BT->getKind() == BuiltinType::WChar_S || in isWideCharType()
620 BT->getKind() == BuiltinType::WChar_U; in isWideCharType()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp169 assert(getKind() == Size1); in replaceNode()
171 assert(getKind() == Size1); in replaceNode()
178 if (getKind() == Size1) { in addNode()
190 assert(getKind() == SizeOther); in addNode()
194 assert(getKind() == Size1); in addNode()
198 assert(getKind() == SizeOther); in addNode()
207 if (getKind() == Size1) in size()
217 if (getKind() == Size1) in begin()
227 if (getKind() == Size1) in end()
/external/llvm/lib/AsmParser/
DLLParser.cpp164 switch (Lex.getKind()) { in ParseTopLevelEntities()
230 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm()
245 assert(Lex.getKind() == lltok::kw_target); in ParseTargetDefinition()
270 assert(Lex.getKind() == lltok::kw_deplibs); in ParseDepLibs()
351 assert(Lex.getKind() == lltok::kw_declare); in ParseDeclare()
361 assert(Lex.getKind() == lltok::kw_define); in ParseDefine()
373 if (Lex.getKind() == lltok::kw_constant) in ParseGlobalType()
375 else if (Lex.getKind() == lltok::kw_global) in ParseGlobalType()
396 if (Lex.getKind() == lltok::GlobalID) { in ParseUnnamedGlobal()
412 if (HasLinkage || Lex.getKind() != lltok::kw_alias) in ParseUnnamedGlobal()
[all …]
/external/llvm/lib/MC/MCDisassembler/
DEDToken.cpp142 switch (tokenIterator->getKind()) { in tokenize()
147 (uint64_t)tokenIterator->getKind(), in tokenize()
157 (uint64_t)tokenIterator->getKind(), in tokenize()
164 (uint64_t)tokenIterator->getKind(), in tokenize()
179 (uint64_t)tokenIterator->getKind(), in tokenize()

1234567891011