Home
last modified time | relevance | path

Searched refs:AK (Results 1 – 25 of 246) sorted by relevance

12345678910

/external/llvm/unittests/Support/
DTargetParserTest.cpp97 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST() local
98 AK <= ARM::ArchKind::AK_LAST; in TEST()
99 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST()
100 EXPECT_TRUE(AK == ARM::AK_LAST ? ARM::getArchName(AK).empty() in TEST()
101 : !ARM::getArchName(AK).empty()); in TEST()
105 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST() local
106 AK <= ARM::ArchKind::AK_LAST; in TEST()
107 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST()
108 EXPECT_TRUE((AK == ARM::AK_INVALID || AK == ARM::AK_LAST) in TEST()
109 ? ARM::getCPUAttr(AK).empty() in TEST()
[all …]
/external/llvm-project/llvm/lib/Support/
DAArch64TargetParser.cpp27 unsigned AArch64::getDefaultFPU(StringRef CPU, AArch64::ArchKind AK) { in getDefaultFPU() argument
29 return AArch64ARCHNames[static_cast<unsigned>(AK)].DefaultFPU; in getDefaultFPU()
38 uint64_t AArch64::getDefaultExtensions(StringRef CPU, AArch64::ArchKind AK) { in getDefaultExtensions() argument
40 return AArch64ARCHNames[static_cast<unsigned>(AK)].ArchBaseExtensions; in getDefaultExtensions()
107 bool AArch64::getArchFeatures(AArch64::ArchKind AK, in getArchFeatures() argument
109 if (AK == ArchKind::ARMV8_1A) in getArchFeatures()
111 if (AK == ArchKind::ARMV8_2A) in getArchFeatures()
113 if (AK == ArchKind::ARMV8_3A) in getArchFeatures()
115 if (AK == ArchKind::ARMV8_4A) in getArchFeatures()
117 if (AK == ArchKind::ARMV8_5A) in getArchFeatures()
[all …]
DTargetParser.cpp117 const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) { in getArchEntry() argument
118 GPUInfo Search = { {""}, {""}, AK, AMDGPU::FEATURE_NONE }; in getArchEntry()
132 StringRef llvm::AMDGPU::getArchNameAMDGCN(GPUKind AK) { in getArchNameAMDGCN() argument
133 if (const auto *Entry = getArchEntry(AK, AMDGCNGPUs)) in getArchNameAMDGCN()
138 StringRef llvm::AMDGPU::getArchNameR600(GPUKind AK) { in getArchNameR600() argument
139 if (const auto *Entry = getArchEntry(AK, R600GPUs)) in getArchNameR600()
162 unsigned AMDGPU::getArchAttrAMDGCN(GPUKind AK) { in getArchAttrAMDGCN() argument
163 if (const auto *Entry = getArchEntry(AK, AMDGCNGPUs)) in getArchAttrAMDGCN()
168 unsigned AMDGPU::getArchAttrR600(GPUKind AK) { in getArchAttrR600() argument
169 if (const auto *Entry = getArchEntry(AK, R600GPUs)) in getArchAttrR600()
[all …]
DARMTargetParser.cpp365 unsigned ARM::getDefaultFPU(StringRef CPU, ARM::ArchKind AK) { in getDefaultFPU() argument
367 return ARM::ARCHNames[static_cast<unsigned>(AK)].DefaultFPU; in getDefaultFPU()
376 uint64_t ARM::getDefaultExtensions(StringRef CPU, ARM::ArchKind AK) { in getDefaultExtensions() argument
378 return ARM::ARCHNames[static_cast<unsigned>(AK)].ArchBaseExtensions; in getDefaultExtensions()
424 StringRef ARM::getArchName(ARM::ArchKind AK) { in getArchName() argument
425 return ARCHNames[static_cast<unsigned>(AK)].getName(); in getArchName()
428 StringRef ARM::getCPUAttr(ARM::ArchKind AK) { in getCPUAttr() argument
429 return ARCHNames[static_cast<unsigned>(AK)].getCPUAttr(); in getCPUAttr()
432 StringRef ARM::getSubArch(ARM::ArchKind AK) { in getSubArch() argument
433 return ARCHNames[static_cast<unsigned>(AK)].getSubArch(); in getSubArch()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp60 AMDGPU::GPUKind AK; in getArchNameFromElfMach() local
64 case ELF::EF_AMDGPU_MACH_R600_R600: AK = GK_R600; break; in getArchNameFromElfMach()
65 case ELF::EF_AMDGPU_MACH_R600_R630: AK = GK_R630; break; in getArchNameFromElfMach()
66 case ELF::EF_AMDGPU_MACH_R600_RS880: AK = GK_RS880; break; in getArchNameFromElfMach()
67 case ELF::EF_AMDGPU_MACH_R600_RV670: AK = GK_RV670; break; in getArchNameFromElfMach()
68 case ELF::EF_AMDGPU_MACH_R600_RV710: AK = GK_RV710; break; in getArchNameFromElfMach()
69 case ELF::EF_AMDGPU_MACH_R600_RV730: AK = GK_RV730; break; in getArchNameFromElfMach()
70 case ELF::EF_AMDGPU_MACH_R600_RV770: AK = GK_RV770; break; in getArchNameFromElfMach()
71 case ELF::EF_AMDGPU_MACH_R600_CEDAR: AK = GK_CEDAR; break; in getArchNameFromElfMach()
72 case ELF::EF_AMDGPU_MACH_R600_CYPRESS: AK = GK_CYPRESS; break; in getArchNameFromElfMach()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAArch64TargetParser.cpp27 unsigned AArch64::getDefaultFPU(StringRef CPU, AArch64::ArchKind AK) { in getDefaultFPU() argument
29 return AArch64ARCHNames[static_cast<unsigned>(AK)].DefaultFPU; in getDefaultFPU()
38 unsigned AArch64::getDefaultExtensions(StringRef CPU, AArch64::ArchKind AK) { in getDefaultExtensions() argument
40 return AArch64ARCHNames[static_cast<unsigned>(AK)].ArchBaseExtensions; in getDefaultExtensions()
107 bool AArch64::getArchFeatures(AArch64::ArchKind AK, in getArchFeatures() argument
109 if (AK == ArchKind::ARMV8_1A) in getArchFeatures()
111 if (AK == ArchKind::ARMV8_2A) in getArchFeatures()
113 if (AK == ArchKind::ARMV8_3A) in getArchFeatures()
115 if (AK == ArchKind::ARMV8_4A) in getArchFeatures()
117 if (AK == ArchKind::ARMV8_5A) in getArchFeatures()
[all …]
DTargetParser.cpp107 const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) { in getArchEntry() argument
108 GPUInfo Search = { {""}, {""}, AK, AMDGPU::FEATURE_NONE }; in getArchEntry()
122 StringRef llvm::AMDGPU::getArchNameAMDGCN(GPUKind AK) { in getArchNameAMDGCN() argument
123 if (const auto *Entry = getArchEntry(AK, AMDGCNGPUs)) in getArchNameAMDGCN()
128 StringRef llvm::AMDGPU::getArchNameR600(GPUKind AK) { in getArchNameR600() argument
129 if (const auto *Entry = getArchEntry(AK, R600GPUs)) in getArchNameR600()
152 unsigned AMDGPU::getArchAttrAMDGCN(GPUKind AK) { in getArchAttrAMDGCN() argument
153 if (const auto *Entry = getArchEntry(AK, AMDGCNGPUs)) in getArchAttrAMDGCN()
158 unsigned AMDGPU::getArchAttrR600(GPUKind AK) { in getArchAttrR600() argument
159 if (const auto *Entry = getArchEntry(AK, R600GPUs)) in getArchAttrR600()
[all …]
DARMTargetParser.cpp359 unsigned ARM::getDefaultFPU(StringRef CPU, ARM::ArchKind AK) { in getDefaultFPU() argument
361 return ARM::ARCHNames[static_cast<unsigned>(AK)].DefaultFPU; in getDefaultFPU()
370 unsigned ARM::getDefaultExtensions(StringRef CPU, ARM::ArchKind AK) { in getDefaultExtensions() argument
372 return ARM::ARCHNames[static_cast<unsigned>(AK)].ArchBaseExtensions; in getDefaultExtensions()
418 StringRef ARM::getArchName(ARM::ArchKind AK) { in getArchName() argument
419 return ARCHNames[static_cast<unsigned>(AK)].getName(); in getArchName()
422 StringRef ARM::getCPUAttr(ARM::ArchKind AK) { in getCPUAttr() argument
423 return ARCHNames[static_cast<unsigned>(AK)].getCPUAttr(); in getCPUAttr()
426 StringRef ARM::getSubArch(ARM::ArchKind AK) { in getSubArch() argument
427 return ARCHNames[static_cast<unsigned>(AK)].getSubArch(); in getSubArch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp60 AMDGPU::GPUKind AK; in getArchNameFromElfMach() local
64 case ELF::EF_AMDGPU_MACH_R600_R600: AK = GK_R600; break; in getArchNameFromElfMach()
65 case ELF::EF_AMDGPU_MACH_R600_R630: AK = GK_R630; break; in getArchNameFromElfMach()
66 case ELF::EF_AMDGPU_MACH_R600_RS880: AK = GK_RS880; break; in getArchNameFromElfMach()
67 case ELF::EF_AMDGPU_MACH_R600_RV670: AK = GK_RV670; break; in getArchNameFromElfMach()
68 case ELF::EF_AMDGPU_MACH_R600_RV710: AK = GK_RV710; break; in getArchNameFromElfMach()
69 case ELF::EF_AMDGPU_MACH_R600_RV730: AK = GK_RV730; break; in getArchNameFromElfMach()
70 case ELF::EF_AMDGPU_MACH_R600_RV770: AK = GK_RV770; break; in getArchNameFromElfMach()
71 case ELF::EF_AMDGPU_MACH_R600_CEDAR: AK = GK_CEDAR; break; in getArchNameFromElfMach()
72 case ELF::EF_AMDGPU_MACH_R600_CYPRESS: AK = GK_CYPRESS; break; in getArchNameFromElfMach()
[all …]
/external/clang/include/clang/AST/
DAttr.h79 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in Attr() argument
81 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex), in Attr()
124 StmtAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in StmtAttr() argument
126 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {} in StmtAttr()
137 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in InheritableAttr() argument
139 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {} in InheritableAttr()
153 InheritableParamAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in InheritableParamAttr() argument
155 : InheritableAttr(AK, R, SpellingListIndex, IsLateParsed, in InheritableParamAttr()
170 ParameterABIAttr(attr::Kind AK, SourceRange R, in ParameterABIAttr() argument
173 : InheritableParamAttr(AK, R, SpellingListIndex, IsLateParsed, in ParameterABIAttr()
/external/llvm-project/clang/include/clang/AST/
DAttr.h80 attr::Kind AK, bool IsLateParsed) in Attr() argument
81 : AttributeCommonInfo(CommonInfo), AttrKind(AK), Inherited(false), in Attr()
117 attr::Kind AK, bool IsLateParsed) in TypeAttr() argument
118 : Attr(Context, CommonInfo, AK, IsLateParsed) {} in TypeAttr()
130 attr::Kind AK, bool IsLateParsed) in StmtAttr() argument
131 : Attr(Context, CommonInfo, AK, IsLateParsed) {} in StmtAttr()
143 attr::Kind AK, bool IsLateParsed, in InheritableAttr() argument
145 : Attr(Context, CommonInfo, AK, IsLateParsed) { in InheritableAttr()
168 const AttributeCommonInfo &CommonInfo, attr::Kind AK, in InheritableParamAttr() argument
170 : InheritableAttr(Context, CommonInfo, AK, IsLateParsed, in InheritableParamAttr()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAArch64TargetParser.h102 bool getArchFeatures(ArchKind AK, std::vector<StringRef> &Features);
104 StringRef getArchName(ArchKind AK);
105 unsigned getArchAttr(ArchKind AK);
106 StringRef getCPUAttr(ArchKind AK);
107 StringRef getSubArch(ArchKind AK);
112 unsigned getDefaultFPU(StringRef CPU, ArchKind AK);
113 unsigned getDefaultExtensions(StringRef CPU, ArchKind AK);
DARMTargetParser.h232 StringRef getArchName(ArchKind AK);
233 unsigned getArchAttr(ArchKind AK);
234 StringRef getCPUAttr(ArchKind AK);
235 StringRef getSubArch(ArchKind AK);
238 bool appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK, StringRef ArchExt,
243 unsigned getDefaultFPU(StringRef CPU, ArchKind AK);
244 unsigned getDefaultExtensions(StringRef CPU, ArchKind AK);
DTargetParser.h157 StringRef getArchNameAMDGCN(GPUKind AK);
158 StringRef getArchNameR600(GPUKind AK);
162 unsigned getArchAttrAMDGCN(GPUKind AK);
163 unsigned getArchAttrR600(GPUKind AK);
/external/llvm-project/llvm/include/llvm/Support/
DAArch64TargetParser.h109 bool getArchFeatures(ArchKind AK, std::vector<StringRef> &Features);
111 StringRef getArchName(ArchKind AK);
112 unsigned getArchAttr(ArchKind AK);
113 StringRef getCPUAttr(ArchKind AK);
114 StringRef getSubArch(ArchKind AK);
119 unsigned getDefaultFPU(StringRef CPU, ArchKind AK);
120 uint64_t getDefaultExtensions(StringRef CPU, ArchKind AK);
DARMTargetParser.h246 StringRef getArchName(ArchKind AK);
247 unsigned getArchAttr(ArchKind AK);
248 StringRef getCPUAttr(ArchKind AK);
249 StringRef getSubArch(ArchKind AK);
252 bool appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK, StringRef ArchExt,
258 unsigned getDefaultFPU(StringRef CPU, ArchKind AK);
259 uint64_t getDefaultExtensions(StringRef CPU, ArchKind AK);
DTargetParser.h131 StringRef getArchNameAMDGCN(GPUKind AK);
132 StringRef getArchNameR600(GPUKind AK);
136 unsigned getArchAttrAMDGCN(GPUKind AK);
137 unsigned getArchAttrR600(GPUKind AK);
/external/llvm-project/clang/lib/AST/Interp/
DInterp.cpp102 AccessKinds AK) { in CheckInitialized() argument
107 S.FFDiag(Loc, diag::note_constexpr_access_uninit) << AK << false; in CheckInitialized()
113 AccessKinds AK) { in CheckActive() argument
140 << AK << InactiveField << !ActiveField << ActiveField; in CheckActive()
145 AccessKinds AK) { in CheckTemporary() argument
157 S.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK; in CheckTemporary()
203 AccessKinds AK) { in CheckLive() argument
210 S.FFDiag(Src, diag::note_constexpr_access_null) << AK; in CheckLive()
218 S.FFDiag(Src, diag::note_constexpr_lifetime_ended, 1) << AK << !IsTemp; in CheckLive()
241 AccessKinds AK) { in CheckRange() argument
[all …]
DByteCodeExprGen.cpp258 const Expr *LV, DerefKind AK, llvm::function_ref<bool(PrimType)> Direct, in dereference() argument
266 return dereferenceParam(LV, *T, PD, AK, Direct, Indirect); in dereference()
268 return dereferenceVar(LV, *T, VD, AK, Direct, Indirect); in dereference()
283 const Expr *LV, PrimType T, const ParmVarDecl *PD, DerefKind AK, in dereferenceParam() argument
289 switch (AK) { in dereferenceParam()
313 if (!DiscardResult && T == PT_Ptr && AK == DerefKind::Read) { in dereferenceParam()
325 const Expr *LV, PrimType T, const VarDecl *VD, DerefKind AK, in dereferenceVar() argument
331 switch (AK) { in dereferenceVar()
354 switch (AK) { in dereferenceVar()
381 if (!DiscardResult && AK == DerefKind::Read) { in dereferenceVar()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp897 if (auto AK = TLI->getExtAttrForI32Param(false)) in getStartFileFunc() local
898 AL = AL.addParamAttribute(*Ctx, 2, AK); in getStartFileFunc()
913 if (auto AK = TLI->getExtAttrForI32Param(false)) { in getEmitFunctionFunc() local
914 AL = AL.addParamAttribute(*Ctx, 0, AK); in getEmitFunctionFunc()
915 AL = AL.addParamAttribute(*Ctx, 2, AK); in getEmitFunctionFunc()
916 AL = AL.addParamAttribute(*Ctx, 3, AK); in getEmitFunctionFunc()
917 AL = AL.addParamAttribute(*Ctx, 4, AK); in getEmitFunctionFunc()
929 if (auto AK = TLI->getExtAttrForI32Param(false)) in getEmitArcsFunc() local
930 AL = AL.addParamAttribute(*Ctx, 0, AK); in getEmitArcsFunc()
1117 if (auto AK = TLI->getExtAttrForI32Param(false)) in insertCounterWriteout() local
[all …]
/external/llvm-project/llvm/unittests/Support/
DTargetParserTest.cpp37 ARM::ArchKind AK = ARM::parseCPUArch(CPUName); in testARMCPU() local
38 bool pass = ARM::getArchName(AK).equals(ExpectedArch); in testARMCPU()
39 unsigned FPUKind = ARM::getDefaultFPU(CPUName, AK); in testARMCPU()
42 uint64_t ExtKind = ARM::getDefaultExtensions(CPUName, AK); in testARMCPU()
47 pass &= ARM::getCPUAttr(AK).equals(CPUAttr); in testARMCPU()
359 ARM::ArchKind AK = ARM::parseArch(Arch); in testARMArch() local
360 bool Result = (AK != ARM::ArchKind::INVALID); in testARMArch()
362 Result &= ARM::getSubArch(AK).equals(SubArch); in testARMArch()
363 Result &= (ARM::getArchAttr(AK) == ArchAttr); in testARMArch()
799 AArch64::ArchKind AK = AArch64::parseCPUArch(CPUName); in testAArch64CPU() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp1067 if (auto AK = TLI->getExtAttrForI32Param(false)) in getStartFileFunc() local
1068 AL = AL.addParamAttribute(*Ctx, 2, AK); in getStartFileFunc()
1081 if (auto AK = TLI->getExtAttrForI32Param(false)) { in getEmitFunctionFunc() local
1082 AL = AL.addParamAttribute(*Ctx, 0, AK); in getEmitFunctionFunc()
1083 AL = AL.addParamAttribute(*Ctx, 1, AK); in getEmitFunctionFunc()
1084 AL = AL.addParamAttribute(*Ctx, 2, AK); in getEmitFunctionFunc()
1096 if (auto AK = TLI->getExtAttrForI32Param(false)) in getEmitArcsFunc() local
1097 AL = AL.addParamAttribute(*Ctx, 0, AK); in getEmitArcsFunc()
1286 if (auto AK = TLI->getExtAttrForI32Param(false)) in insertCounterWriteout() local
1287 StartFileCall->addParamAttr(2, AK); in insertCounterWriteout()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DAssumeBundleQueries.h58 static unsigned getHashValue(Attribute::AttrKind AK) {
59 return hash_combine(AK);
/external/clang/include/clang/Analysis/Analyses/
DThreadSafety.h151 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld() argument
223 LockKind getLockKindFromAccessKind(AccessKind AK);
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafety.h178 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld() argument
257 LockKind getLockKindFromAccessKind(AccessKind AK);

12345678910