/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | OpenCLOptions.h | 35 bool isKnown(llvm::StringRef Ext) const { 36 return OptMap.find(Ext) != OptMap.end(); 39 bool isEnabled(llvm::StringRef Ext) const { 40 return OptMap.find(Ext)->second.Enabled; 45 bool isSupported(llvm::StringRef Ext, const LangOptions &LO) const { argument 48 auto I = OptMap.find(Ext)->getValue(); 54 bool isSupportedCore(llvm::StringRef Ext, const LangOptions &LO) const { argument 57 auto I = OptMap.find(Ext)->getValue(); 63 bool isSupportedExtension(llvm::StringRef Ext, const LangOptions &LO) const { argument 66 auto I = OptMap.find(Ext) 70 enable(llvm::StringRef Ext, bool V = true) argument 78 support(llvm::StringRef Ext, bool V = true) argument [all...] |
H A D | TargetInfo.h | 1409 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { 1410 getTargetOpts().SupportedOpenCLOptions.support(Ext);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | RISCV.cpp | 33 static StringRef getExtensionTypeDesc(StringRef Ext) { argument 34 if (Ext.startswith("sx")) 36 if (Ext.startswith("s")) 38 if (Ext.startswith("x")) 40 if (Ext.startswith("z")) 45 static StringRef getExtensionType(StringRef Ext) { argument 46 if (Ext.startswith("sx")) 48 if (Ext.startswith("s")) 50 if (Ext.startswith("x")) 52 if (Ext 60 isExperimentalExtension(StringRef Ext) argument 70 isSupportedExtension(StringRef Ext) argument 84 getExtensionVersion(const Driver &D, const ArgList &Args, StringRef MArch, StringRef Ext, StringRef In, std::string &Major, std::string &Minor) argument 99 << MArch << Error << Ext; local 120 << MArch << Error << Ext; local 126 << MArch << Error << Ext; local 140 << MArch << Error << Ext; local 155 D.Diag(diag::err_drv_invalid_riscv_ext_arch_name) << MArch << Error << Ext; local 202 << MArch << "invalid extension prefix" << Ext; local 214 << MArch << Error << Ext; local 256 << MArch << Error << Ext; local [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | TestModuleFileExtension.h | 29 Writer(ModuleFileExtension *Ext) : ModuleFileExtensionWriter(Ext) { } argument 42 Reader(ModuleFileExtension *Ext, const llvm::BitstreamCursor &InStream);
|
H A D | TestModuleFileExtension.cpp | 35 auto Ext = static_cast<TestModuleFileExtension *>(getExtension()); local 37 OS << "Hello from " << Ext->BlockName << " v" << Ext->MajorVersion << "." 38 << Ext->MinorVersion; 44 TestModuleFileExtension::Reader::Reader(ModuleFileExtension *Ext, argument 46 : ModuleFileExtensionReader(Ext), Stream(InStream)
|
H A D | InitPreprocessor.cpp | 113 const llvm::fltSemantics *Sem, StringRef Ext) { 144 Builder.defineMacro(DefPrefix + "DENORM_MIN__", Twine(DenormMin)+Ext); 148 Builder.defineMacro(DefPrefix + "EPSILON__", Twine(Epsilon)+Ext); 155 Builder.defineMacro(DefPrefix + "MAX__", Twine(Max)+Ext); 159 Builder.defineMacro(DefPrefix + "MIN__", Twine(Min)+Ext); 1110 #define OPENCLEXT(Ext) \ 1111 if (TI.getSupportedOpenCLOpts().isSupported(#Ext, LangOpts)) \ 1112 Builder.defineMacro(#Ext); 112 DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix, const llvm::fltSemantics *Sem, StringRef Ext) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | bugpoint.cpp | 138 #define HANDLE_EXTENSION(Ext) \ 139 llvm::PassPluginLibraryInfo get##Ext##PluginInfo(); 235 #define HANDLE_EXTENSION(Ext) \ 236 (void)get##Ext##PluginInfo();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Program.inc | 72 for (StringRef Ext : PathExts) { 74 if (std::error_code EC = windows::UTF8ToUTF16(Ext, U16Ext)) 84 windows::UTF8ToUTF16(Twine(Name + Ext).str(), U16NameExt))
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Types.h | 93 /// extension \p Ext. 94 ID lookupTypeForExtension(llvm::StringRef Ext);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 132 StringRef Ext = llvm::sys::path::extension(Filename); local 133 if (Ext.empty()) 135 return llvm::StringSwitch<bool>(Ext) 146 StringRef Ext = llvm::sys::path::extension(Filename); local 147 if (Ext.empty())
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 209 #define HANDLE_EXTENSION(Ext) \ 210 llvm::PassPluginLibraryInfo get##Ext##PluginInfo(); 301 #define HANDLE_EXTENSION(Ext) \ 302 get##Ext##PluginInfo().RegisterPassBuilderCallbacks(PB);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 191 for (const auto *Ext : IDecl->visible_extensions()) 192 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext, 249 for (const auto *Ext : ClassDecl->visible_extensions()) { 250 if (auto *P = Ext->FindPropertyDeclaration(PropertyId, QueryKind)) 399 for (const auto *Ext : known_extensions()) { 400 const ObjCCategoryDecl *ClassExt = Ext; 492 for (const auto *Ext : D->visible_extensions()) { 493 for (const auto *MD : Ext->instance_methods()) { 554 for (const auto *Ext : IFace->visible_extensions()) { 555 for (const auto *MD : Ext [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 132 #define HANDLE_EXTENSION(Ext) \ 133 llvm::PassPluginLibraryInfo get##Ext##PluginInfo(); 138 #define HANDLE_EXTENSION(Ext) \ 139 get##Ext##PluginInfo().RegisterPassBuilderCallbacks(PB);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 3859 /// Utility function to promote the operand of \p Ext when this 3863 /// created to promote the operand of Ext. 3867 /// \return The promoted value which is used instead of Ext. 3869 Instruction *Ext, TypePromotionTransaction &TPT, 3874 /// Utility function to promote the operand of \p Ext when this 3878 /// created to promote the operand of Ext. 3882 /// \return The promoted value which is used instead of Ext. 3883 static Value *promoteOperandForOther(Instruction *Ext, 3893 Instruction *Ext, TypePromotionTransaction &TPT, 3897 return promoteOperandForOther(Ext, TP 3892 signExtendOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) argument 3902 zeroExtendOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) argument 4038 getAction( Instruction *Ext, const SetOfInstrs &InsertedInsts, const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) argument 4119 promoteOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI, bool IsSExt) argument 4467 Instruction *Ext = dyn_cast<Instruction>(AddrInst); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 583 Instruction *Ext = nullptr; local 594 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); 598 Ext = new SExtInst(Op1, IVTy, "sext", ICI); 602 L->makeLoopInvariant(Ext, Changed); 604 ICmpInst *NewICI = new ICmpInst(ICI, Pred, IV, Ext);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ |
H A D | Types.cpp | 232 types::ID types::lookupTypeForExtension(llvm::StringRef Ext) { argument 233 return llvm::StringSwitch<types::ID>(Ext)
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransProperties.cpp | 99 for (auto *Ext : iface->visible_extensions()) 100 collectProperties(Ext, AtProps);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenCLRuntime.cpp | 64 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 641 Instruction *Ext = (*I)->clone(); local 642 Ext->setOperand(0, Current); 643 Ext->insertBefore(IP); 644 Current = Ext;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 166 static Instruction *foldBitcastExtElt(ExtractElementInst &Ext, argument 171 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) || 173 !match(Ext.getIndexOperand(), m_ConstantInt(ExtIndexC))) 180 Type *DestTy = Ext.getType(); 182 unsigned NumElts = Ext.getVectorOperandType()->getNumElements(); 234 if (!X->hasOneUse() || !Ext.getVectorOperand()->hasOneUse()) 245 if (!Ext.getVectorOperand()->hasOneUse()) 2156 auto *Ext = Builder.CreateExtractElement( local 2160 replaceInstUsesWith(*BC, Ext);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IvarInvalidationChecker.cpp | 262 for (const auto *Ext : InterfD->visible_extensions()) 263 containsInvalidationMethod(Ext, OutInfo, Partial);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 231 for (auto Ext : {ISD::EXTLOAD, ISD::ZEXTLOAD, ISD::SEXTLOAD}) 232 setLoadExtAction(Ext, T, MVT::i1, Promote); 239 for (auto Ext : {ISD::EXTLOAD, ISD::ZEXTLOAD, ISD::SEXTLOAD}) 240 setLoadExtAction(Ext, T, MemT, Expand); 245 for (auto Ext : {ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}) { 246 setLoadExtAction(Ext, MVT::v8i16, MVT::v8i8, Legal); 247 setLoadExtAction(Ext, MVT::v4i32, MVT::v4i16, Legal); 248 setLoadExtAction(Ext, MVT::v2i64, MVT::v2i32, Legal);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 215 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | PassManagerBuilder.cpp | 254 for (auto &Ext : *GlobalExtensions) { 255 if (std::get<0>(Ext) == ETy) 256 std::get<1>(Ext)(*this, PM);
|
H A D | DeadArgumentElimination.cpp | 576 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(U.getUser())) { 579 unsigned Idx = *Ext->idx_begin(); 581 RetValLiveness[Idx] = SurveyUses(Ext, MaybeLiveRetUses[Idx]);
|