Home
last modified time | relevance | path

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

12345678910>>...19

/external/clang/unittests/AST/
DCommentLexer.cpp102 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
119 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
137 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
140 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
157 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
160 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
161 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F()
180 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
182 ASSERT_EQ(tok::text, Toks[1].getKind()); in TEST_F()
[all …]
/external/clang/include/clang/Basic/
DObjCRuntime.h71 Kind getKind() const { return TheKind; } in getKind() function
77 switch (getKind()) { in isNonFragile()
96 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch()
102 else if ((getKind() == MacOSX) && isNonFragile() && in isLegacyDispatchDefaultForArch()
113 switch (getKind()) { in isGNUFamily()
135 switch (getKind()) { in allowsARC()
152 switch (getKind()) { in hasNativeARC()
166 switch (getKind()) { in hasOptimizedSetter()
196 switch (getKind()) { in hasSubscripting()
221 switch (getKind()) { in allowsPointerArithmetic()
[all …]
DTargetCXXABI.h113 Kind getKind() const { return TheKind; } in getKind() function
117 switch (getKind()) { in isItaniumFamily()
134 switch (getKind()) { in isMicrosoft()
214 switch (getKind()) { in canKeyFunctionBeInline()
261 switch (getKind()) { in getTailPaddingUseRules()
289 return left.getKind() == right.getKind();
/external/clang/include/clang/AST/
DTemplateBase.h218 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; } in getKind() function
221 bool isNull() const { return getKind() == Null; } in isNull()
241 assert(getKind() == Type && "Unexpected kind"); in getAsType()
248 assert(getKind() == Declaration && "Unexpected kind"); in getAsDecl()
253 assert(getKind() == Declaration && "Unexpected kind"); in getParamTypeForDecl()
259 assert(getKind() == NullPtr && "Unexpected kind"); in getNullPtrType()
265 assert(getKind() == Template && "Unexpected kind"); in getAsTemplate()
272 assert((getKind() == Template || getKind() == TemplateExpansion) && in getAsTemplateOrTemplatePattern()
285 assert(getKind() == Integral && "Unexpected kind"); in getAsIntegral()
297 assert(getKind() == Integral && "Unexpected kind"); in getIntegralType()
[all …]
DVTableBuilder.h102 Kind getKind() const { in getKind() function
107 assert(getKind() == CK_VCallOffset && "Invalid component kind!"); in getVCallOffset()
113 assert(getKind() == CK_VBaseOffset && "Invalid component kind!"); in getVBaseOffset()
119 assert(getKind() == CK_OffsetToTop && "Invalid component kind!"); in getOffsetToTop()
125 assert(getKind() == CK_RTTI && "Invalid component kind!"); in getRTTIDecl()
131 assert(getKind() == CK_FunctionPointer); in getFunctionDecl()
137 assert((getKind() == CK_CompleteDtorPointer || in getDestructorDecl()
138 getKind() == CK_DeletingDtorPointer) && "Invalid component kind!"); in getDestructorDecl()
144 assert(getKind() == CK_UnusedFunctionPointer); in getUnusedFunctionDecl()
174 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()
/external/clang/include/clang/Driver/
DAction.h87 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
92 ActionClass getKind() const { return Kind; } in getKind() function
116 return A->getKind() == InputClass; in classof()
132 return A->getKind() == BindArchClass; in classof()
144 return (A->getKind() >= JobClassFirst && in classof()
145 A->getKind() <= JobClassLast); in classof()
155 return A->getKind() == PreprocessJobClass; in classof()
165 return A->getKind() == PrecompileJobClass; in classof()
175 return A->getKind() == AnalyzeJobClass; in classof()
185 return A->getKind() == MigrateJobClass; in classof()
[all …]
/external/clang/include/clang/Analysis/
DProgramPoint.h85 assert(getKind() == k); in Data1()
109 return ProgramPoint(getData1(), getData2(), getKind(), in withTag()
136 Kind getKind() const { in getKind() function
148 Kind K = getKind(); in isPurgeKind()
181 ID.AddInteger((unsigned) getKind()); in Profile()
214 return Location.getKind() == BlockEntranceKind; in isKind()
235 return Location.getKind() == BlockExitKind; in isKind()
257 unsigned k = Location.getKind(); in isKind()
275 return Location.getKind() == PreStmtKind; in isKind()
298 unsigned k = Location.getKind(); in isKind()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcher.h96 KindTy getKind() const { return Kind; } in getKind() function
106 if (getKind() != M->getKind()) return false; in isEqual()
112 return ((getHashImpl() << 4) ^ getKind()) & (~0U>>1); in getHash()
125 switch (getKind()) { in isSimplePredicateNode()
149 getKind() == RecordNode || getKind() == RecordChild; in isSimplePredicateOrRecordNode()
173 if (getKind() < Other->getKind()) in isContradictory()
225 return N->getKind() == Scope; in classof()
251 return N->getKind() == RecordNode; in classof()
285 return N->getKind() == RecordChild; in classof()
304 return N->getKind() == RecordMemRef; in classof()
[all …]
/external/clang/lib/Analysis/
DPrintfFormatString.cpp313 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg) in ParseFormatStringHasSArg()
330 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType()
331 switch (LM.getKind()) { in getArgType()
345 switch (LM.getKind()) { in getArgType()
379 switch (LM.getKind()) { in getArgType()
414 if (LM.getKind() == LengthModifier::AsLongDouble) in getArgType()
419 if (CS.getKind() == ConversionSpecifier::nArg) { in getArgType()
420 switch (LM.getKind()) { in getArgType()
450 switch (CS.getKind()) { in getArgType()
452 if (LM.getKind() == LengthModifier::AsWideChar) { in getArgType()
[all …]
DFormatString.cpp286 switch (BT->getKind()) { in matchesType()
307 switch (BT->getKind()) { in matchesType()
342 switch (BT->getKind()) { in matchesType()
582 switch (getKind()) { in getStandardSpecifier()
627 switch (LM.getKind()) { in hasValidLengthModifier()
634 switch (CS.getKind()) { in hasValidLengthModifier()
652 switch (CS.getKind()) { in hasValidLengthModifier()
673 switch (CS.getKind()) { in hasValidLengthModifier()
705 switch (CS.getKind()) { in hasValidLengthModifier()
729 switch (CS.getKind()) { in hasValidLengthModifier()
[all …]
/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h170 Kind getKind() const { in getKind() function
176 return getKind() != Data; in isCtrl()
183 return getKind() == Order && (Contents.OrdKind == MayAliasMem in isNormalMemory()
190 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier()
203 return getKind() == Order && Contents.OrdKind == MustAliasMem; in isMustAlias()
211 return getKind() == Order && Contents.OrdKind >= Weak; in isWeak()
217 return getKind() == Order && Contents.OrdKind == Artificial; in isArtificial()
223 return getKind() == Order && Contents.OrdKind == Cluster; in isCluster()
229 return getKind() == Data && Contents.Reg != 0; in isAssignedRegDep()
236 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in getReg()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h184 Kind getKind() const { return kind; } in getKind() function
212 Kind k = R->getKind(); in classof()
224 Kind k = R->getKind(); in classof()
250 return R->getKind() == StaticGlobalSpaceRegionKind; in classof()
270 Kind k = R->getKind(); in classof()
289 return R->getKind() == GlobalSystemSpaceRegionKind; in classof()
309 return R->getKind() == GlobalImmutableSpaceRegionKind; in classof()
327 return R->getKind() == GlobalInternalSpaceRegionKind; in classof()
342 return R->getKind() == HeapSpaceRegionKind; in classof()
356 return R->getKind() == UnknownSpaceRegionKind; in classof()
[all …]
DCallEvent.h173 virtual Kind getKind() const = 0;
420 return CA->getKind() >= CE_BEG_FUNCTION_CALLS && in classof()
421 CA->getKind() <= CE_END_FUNCTION_CALLS; in classof()
454 Kind getKind() const override { return CE_Function; } in getKind() function
457 return CA->getKind() == CE_Function; in classof()
513 Kind getKind() const override { return CE_Block; } in getKind() function
516 return CA->getKind() == CE_Block; in classof()
551 return CA->getKind() >= CE_BEG_CXX_INSTANCE_CALLS && in classof()
552 CA->getKind() <= CE_END_CXX_INSTANCE_CALLS; in classof()
589 Kind getKind() const override { return CE_CXXMember; } in getKind() function
[all …]
/external/clang/include/clang/Sema/
DInitialization.h334 EntityKind getKind() const { return Kind; } in getKind() function
368 return (getKind() == EK_Parameter || in isParameterKind()
369 getKind() == EK_Parameter_CF_Audited); in isParameterKind()
380 assert(getKind() == EK_Base && "Not a base specifier"); in getBaseSpecifier()
386 assert(getKind() == EK_Base && "Not a base specifier"); in isInheritedVirtualBase()
393 assert(getKind() == EK_Result && "No 'return' location!"); in getReturnLoc()
400 assert(getKind() == EK_Exception && "No 'throw' location!"); in getThrowLoc()
407 assert(getKind() == EK_ArrayElement || getKind() == EK_VectorElement || in getElementIndex()
408 getKind() == EK_ComplexElement); in getElementIndex()
414 assert(getKind() == EK_ArrayElement || getKind() == EK_VectorElement || in setElementIndex()
[all …]
DAttributeList.h225 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
248 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
268 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
287 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
300 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
314 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
346 return getKind() == AT_Aligned && SyntaxUsed == AS_Keyword; in isAlignasAttribute()
364 Kind getKind() const { return Kind(AttrKind); } in getKind() function
365 static Kind getKind(const IdentifierInfo *Name, const IdentifierInfo *Scope,
395 assert(getKind() == AT_Availability && "Not an availability attribute"); in getAvailabilityIntroduced()
[all …]
/external/clang/lib/AST/
DTemplateBase.cpp103 switch (getKind()) { in isDependent()
144 switch (getKind()) { in isInstantiationDependent()
183 switch (getKind()) { in isPackExpansion()
206 switch (getKind()) { in containsUnexpandedParameterPack()
241 assert(getKind() == TemplateExpansion); in getNumTemplateExpansions()
250 ID.AddInteger(getKind()); in Profile()
251 switch (getKind()) { in Profile()
302 if (getKind() != Other.getKind()) return false; in structurallyEquals()
304 switch (getKind()) { in structurallyEquals()
334 switch (getKind()) { in getPackExpansionPattern()
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h90 /* DiagnosticKind */ int getKind() const { return Kind; } in getKind() function
149 return DI->getKind() == DK_InlineAsm; in classof()
176 return DI->getKind() == DK_StackSize; in classof()
204 return DI->getKind() == DK_DebugMetadataVersion; in classof()
229 return DI->getKind() == DK_SampleProfile; in classof()
269 return DI->getKind() == DK_OptimizationRemark; in classof()
329 return DI->getKind() == DK_OptimizationRemark; in classof()
355 return DI->getKind() == DK_OptimizationRemarkMissed; in classof()
382 return DI->getKind() == DK_OptimizationRemarkAnalysis; in classof()
437 return DI->getKind() == DK_OptimizationFailure; in classof()
DInlineAsm.h303 static unsigned getKind(unsigned Flags) { in getKind() function
307 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} in isRegDefKind()
308 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } in isImmKind()
309 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } in isMemKind()
311 return getKind(Flag) == Kind_RegDefEarlyClobber; in isRegDefEarlyClobberKind()
314 return getKind(Flag) == Kind_Clobber; in isClobberKind()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp50 switch ((unsigned)Fixup.getKind()) { in getAArch64FixupKindMachOInfo()
62 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
67 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
77 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
93 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordRelocation()
156 unsigned Kind = Fixup.getKind(); in RecordRelocation()
223 if (Target.getSymA()->getKind() == MCSymbolRefExpr::VK_GOT && in RecordRelocation()
224 Target.getSymB()->getKind() == MCSymbolRefExpr::VK_None && in RecordRelocation()
235 } else if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in RecordRelocation()
[all …]
DAArch64MCExpr.cpp35 switch (static_cast<uint32_t>(getKind())) { in getVariantKindName()
80 if (getKind() != VK_NONE) in PrintImpl()
100 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in EvaluateAsRelocatableImpl()
106 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp103 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
104 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind()); in RecordX86_64Relocation()
105 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordX86_64Relocation()
155 if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in RecordX86_64Relocation()
156 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()
323 unsigned Kind = Fixup.getKind(); in RecordX86_64Relocation()
352 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordScatteredRelocation()
444 assert(Target.getSymA()->getKind() == MCSymbolRefExpr::VK_TLVP && in RecordTLVPRelocation()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp186 switch ((unsigned)Fixup.getKind()) { in fixupNeedsRelaxation()
323 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
427 if (SRE->getKind() == MCSymbolRefExpr::VK_ARM_TLSCALL) in adjustFixupValue()
505 if (SRE->getKind() == MCSymbolRefExpr::VK_ARM_TLSCALL) in adjustFixupValue()
587 if ((unsigned)Fixup.getKind() != ARM::fixup_arm_ldst_pcrel_12 && in processFixupValue()
588 (unsigned)Fixup.getKind() != ARM::fixup_t2_ldst_pcrel_12 && in processFixupValue()
589 (unsigned)Fixup.getKind() != ARM::fixup_arm_adr_pcrel_12 && in processFixupValue()
590 (unsigned)Fixup.getKind() != ARM::fixup_thumb_adr_pcrel_10 && in processFixupValue()
591 (unsigned)Fixup.getKind() != ARM::fixup_t2_adr_pcrel_12 && in processFixupValue()
592 (unsigned)Fixup.getKind() != ARM::fixup_arm_thumb_cp) { in processFixupValue()
[all …]
DARMWinCOFFObjectWriter.cpp46 Target.isAbsolute() ? MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); in getRelocType()
48 switch (static_cast<unsigned>(Fixup.getKind())) { in getRelocType()
50 const MCFixupKindInfo &Info = MAB.getFixupKindInfo(Fixup.getKind()); in getRelocType()
80 return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16; in recordRelocation()
/external/llvm/lib/AsmParser/
DLLParser.cpp173 switch (Lex.getKind()) { in ParseTopLevelEntities()
240 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm()
255 assert(Lex.getKind() == lltok::kw_target); in ParseTargetDefinition()
281 assert(Lex.getKind() == lltok::kw_deplibs); in ParseDepLibs()
355 assert(Lex.getKind() == lltok::kw_declare); in ParseDeclare()
365 assert(Lex.getKind() == lltok::kw_define); in ParseDefine()
377 if (Lex.getKind() == lltok::kw_constant) in ParseGlobalType()
379 else if (Lex.getKind() == lltok::kw_global) in ParseGlobalType()
402 if (Lex.getKind() == lltok::GlobalID) { in ParseUnnamedGlobal()
423 if (Lex.getKind() != lltok::kw_alias) in ParseUnnamedGlobal()
[all …]

12345678910>>...19