Home
last modified time | relevance | path

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

12345678910>>...22

/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.h75 Kind getKind() const { return TheKind; } in getKind() function
81 switch (getKind()) { in isNonFragile()
101 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch()
107 else if ((getKind() == MacOSX) && isNonFragile() && in isLegacyDispatchDefaultForArch()
118 switch (getKind()) { in isGNUFamily()
141 switch (getKind()) { in allowsARC()
161 switch (getKind()) { in hasNativeARC()
176 switch (getKind()) { in hasOptimizedSetter()
208 switch (getKind()) { in hasSubscripting()
234 switch (getKind()) { in allowsPointerArithmetic()
[all …]
DTargetCXXABI.h133 Kind getKind() const { return TheKind; } in getKind() function
137 switch (getKind()) { in isItaniumFamily()
156 switch (getKind()) { in isMicrosoft()
183 switch (getKind()) { in areMemberFunctionsAligned()
268 switch (getKind()) { in canKeyFunctionBeInline()
317 switch (getKind()) { in getTailPaddingUseRules()
344 return left.getKind() == right.getKind();
/external/clang/include/clang/AST/
DTemplateBase.h215 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; } in getKind() function
218 bool isNull() const { return getKind() == Null; } in isNull()
238 assert(getKind() == Type && "Unexpected kind"); in getAsType()
245 assert(getKind() == Declaration && "Unexpected kind"); in getAsDecl()
250 assert(getKind() == Declaration && "Unexpected kind"); in getParamTypeForDecl()
256 assert(getKind() == NullPtr && "Unexpected kind"); in getNullPtrType()
262 assert(getKind() == Template && "Unexpected kind"); in getAsTemplate()
269 assert((getKind() == Template || getKind() == TemplateExpansion) && in getAsTemplateOrTemplatePattern()
282 assert(getKind() == Integral && "Unexpected kind"); in getAsIntegral()
294 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()
142 assert(getKind() == CK_UnusedFunctionPointer && "Invalid component kind!"); in getUnusedFunctionDecl()
146 bool isDestructorKind() const { return isDestructorKind(getKind()); } in isDestructorKind()
149 return isUsedFunctionPointerKind(getKind()); in isUsedFunctionPointerKind()
153 return isFunctionPointerKind(getKind()); in isFunctionPointerKind()
156 bool isRTTIKind() const { return isRTTIKind(getKind()); } in isRTTIKind()
195 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.h89 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
94 ActionClass getKind() const { return Kind; } in getKind() function
118 return A->getKind() == InputClass; in classof()
134 return A->getKind() == BindArchClass; in classof()
154 return A->getKind() == CudaDeviceClass; in classof()
169 static bool classof(const Action *A) { return A->getKind() == CudaHostClass; } in classof()
180 return (A->getKind() >= JobClassFirst && in classof()
181 A->getKind() <= JobClassLast); in classof()
191 return A->getKind() == PreprocessJobClass; in classof()
201 return A->getKind() == PrecompileJobClass; 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.cpp375 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg) in ParseFormatStringHasSArg()
392 if (CS.getKind() == ConversionSpecifier::cArg) in getArgType()
393 switch (LM.getKind()) { in getArgType()
407 switch (LM.getKind()) { in getArgType()
441 switch (LM.getKind()) { in getArgType()
476 if (LM.getKind() == LengthModifier::AsLongDouble) in getArgType()
481 if (CS.getKind() == ConversionSpecifier::nArg) { in getArgType()
482 switch (LM.getKind()) { in getArgType()
512 switch (CS.getKind()) { in getArgType()
514 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/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp69 if (Fixup.getKind() == FK_SecRel_4 || Fixup.getKind() == FK_SecRel_8) { in applyFixup()
71 } else if (Fixup.getKind() == FK_Data_4 || Fixup.getKind() == FK_Data_8) { in applyFixup()
72 unsigned Size = Fixup.getKind() == FK_Data_4 ? 4 : 8; in applyFixup()
79 assert(Fixup.getKind() == FK_PCRel_2); in applyFixup()
/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.h174 virtual Kind getKind() const = 0;
428 return CA->getKind() >= CE_BEG_FUNCTION_CALLS && in classof()
429 CA->getKind() <= CE_END_FUNCTION_CALLS; in classof()
462 Kind getKind() const override { return CE_Function; } in getKind() function
465 return CA->getKind() == CE_Function; in classof()
569 Kind getKind() const override { return CE_Block; } in getKind() function
572 return CA->getKind() == CE_Block; in classof()
608 return CA->getKind() >= CE_BEG_CXX_INSTANCE_CALLS && in classof()
609 CA->getKind() <= CE_END_CXX_INSTANCE_CALLS; in classof()
646 Kind getKind() const override { return CE_CXXMember; } in getKind() function
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h94 /* DiagnosticKind */ int getKind() const { return Kind; } in getKind() function
155 return DI->getKind() == DK_InlineAsm; in classof()
182 return DI->getKind() == DK_StackSize; in classof()
210 return DI->getKind() == DK_DebugMetadataVersion; in classof()
234 return DI->getKind() == DK_SampleProfile; in classof()
264 return DI->getKind() == DK_PGOProfile; in classof()
355 return DI->getKind() == DK_OptimizationRemark; in classof()
381 return DI->getKind() == DK_OptimizationRemarkMissed; in classof()
408 return DI->getKind() == DK_OptimizationRemarkAnalysis; in classof()
447 return DI->getKind() == DK_OptimizationRemarkAnalysisFPCommute; in classof()
[all …]
DInlineAsm.h311 static unsigned getKind(unsigned Flags) { in getKind() function
315 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} in isRegDefKind()
316 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } in isImmKind()
317 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } in isMemKind()
319 return getKind(Flag) == Kind_RegDefEarlyClobber; in isRegDefEarlyClobberKind()
322 return getKind(Flag) == Kind_Clobber; in isClobberKind()
/external/clang/lib/AST/
DTemplateBase.cpp101 switch (getKind()) { in isDependent()
142 switch (getKind()) { in isInstantiationDependent()
181 switch (getKind()) { in isPackExpansion()
204 switch (getKind()) { in containsUnexpandedParameterPack()
239 assert(getKind() == TemplateExpansion); in getNumTemplateExpansions()
248 ID.AddInteger(getKind()); in Profile()
249 switch (getKind()) { in Profile()
300 if (getKind() != Other.getKind()) return false; in structurallyEquals()
302 switch (getKind()) { in structurallyEquals()
332 switch (getKind()) { in getPackExpansionPattern()
[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 && isKeywordAttribute(); in isAlignasAttribute()
370 Kind getKind() const { return Kind(AttrKind); } in getKind() function
371 static Kind getKind(const IdentifierInfo *Name, const IdentifierInfo *Scope,
401 assert(getKind() == AT_Availability && "Not an availability attribute"); in getAvailabilityIntroduced()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp49 switch ((unsigned)Fixup.getKind()) { in getAArch64FixupKindMachOInfo()
61 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
66 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
76 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
92 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation()
156 unsigned Kind = Fixup.getKind(); in recordRelocation()
222 if (Target.getSymA()->getKind() == MCSymbolRefExpr::VK_GOT && in recordRelocation()
223 Target.getSymB()->getKind() == MCSymbolRefExpr::VK_None && in recordRelocation()
234 } else if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in recordRelocation()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.cpp60 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue()
213 switch (Lex.getKind()) { in ParseTopLevelEntities()
280 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm()
295 assert(Lex.getKind() == lltok::kw_target); in ParseTargetDefinition()
321 assert(Lex.getKind() == lltok::kw_deplibs); in ParseDepLibs()
395 assert(Lex.getKind() == lltok::kw_declare); in ParseDeclare()
405 assert(Lex.getKind() == lltok::kw_define); in ParseDefine()
418 if (Lex.getKind() == lltok::kw_constant) in ParseGlobalType()
420 else if (Lex.getKind() == lltok::kw_global) in ParseGlobalType()
443 if (Lex.getKind() == lltok::GlobalID) { in ParseUnnamedGlobal()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp101 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
102 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind()); in RecordX86_64Relocation()
103 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordX86_64Relocation()
151 if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in RecordX86_64Relocation()
152 Target.getSymB()->getKind() != MCSymbolRefExpr::VK_None) { in RecordX86_64Relocation()
268 MCSymbolRefExpr::VariantKind Modifier = Target.getSymA()->getKind(); in RecordX86_64Relocation()
275 if (unsigned(Fixup.getKind()) == X86::reloc_riprel_4byte_movq_load) in RecordX86_64Relocation()
338 unsigned Kind = Fixup.getKind(); in RecordX86_64Relocation()
370 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordScatteredRelocation()
467 assert(Target.getSymA()->getKind() == MCSymbolRefExpr::VK_TLVP && in recordTLVPRelocation()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
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/include/llvm/MC/
DMCAssembler.h110 FragmentType getKind() const { return Kind; }
150 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; }
164 MCFragment::FragmentType Kind = F->getKind();
225 MCFragment::FragmentType Kind = F->getKind();
240 return F->getKind() == MCFragment::FT_Data;
256 return F->getKind() == MCFragment::FT_CompactEncodedInst;
283 return F->getKind() == MCFragment::FT_Relaxable;
331 return F->getKind() == MCFragment::FT_Align;
368 return F->getKind() == MCFragment::FT_Fill;
394 return F->getKind() == MCFragment::FT_Org;
[all …]

12345678910>>...22