Searched refs:Ext (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenCLOptions.h35 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 DTargetInfo.h1333 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) {
1334 getTargetOpts().SupportedOpenCLOptions.support(Ext);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp25 static StringRef getExtensionTypeDesc(StringRef Ext) { argument
26 if (Ext.startswith("sx"))
28 if (Ext.startswith("s"))
30 if (Ext.startswith("x"))
35 static StringRef getExtensionType(StringRef Ext) { argument
36 if (Ext.startswith("sx"))
38 if (Ext.startswith("s"))
40 if (Ext.startswith("x"))
45 static bool isSupportedExtension(StringRef Ext) { argument
56 StringRef Ext, StringRe
55 getExtensionVersion(const Driver &D, StringRef MArch, StringRef Ext, StringRef In, std::string &Major, std::string &Minor) argument
72 << MArch << Error << Ext; local
82 D.Diag(diag::err_drv_invalid_riscv_ext_arch_name) << MArch << Error << Ext; local
127 << MArch << "invalid extension prefix" << Ext; local
139 << MArch << Error << Ext; local
150 << MArch << Error << Ext; local
168 << MArch << Error << Ext; local
186 << MArch << Error << Ext; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DTestModuleFileExtension.h29 Writer(ModuleFileExtension *Ext) : ModuleFileExtensionWriter(Ext) { } argument
42 Reader(ModuleFileExtension *Ext, const llvm::BitstreamCursor &InStream);
H A DTestModuleFileExtension.cpp35 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 DInitPreprocessor.cpp113 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);
1103 #define OPENCLEXT(Ext) \
1104 if (TI.getSupportedOpenCLOpts().isSupported(#Ext, LangOpts)) \
1105 Builder.defineMacro(#Ext);
112 DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix, const llvm::fltSemantics *Sem, StringRef Ext) argument
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A Dbugpoint.cpp138 #define HANDLE_EXTENSION(Ext) \
139 llvm::PassPluginLibraryInfo get##Ext##PluginInfo();
235 #define HANDLE_EXTENSION(Ext) \
236 (void)get##Ext##PluginInfo();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc71 for (StringRef Ext : PathExts) {
73 if (std::error_code EC = windows::UTF8ToUTF16(Ext, U16Ext))
83 windows::UTF8ToUTF16(Twine(Name + Ext).str(), U16NameExt))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Driver/
H A DTypes.h96 /// extension \p Ext.
97 ID lookupTypeForExtension(llvm::StringRef Ext);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp131 StringRef Ext = llvm::sys::path::extension(Filename); local
132 if (Ext.empty())
134 return llvm::StringSwitch<bool>(Ext)
145 StringRef Ext = llvm::sys::path::extension(Filename); local
146 if (Ext.empty())
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp205 #define HANDLE_EXTENSION(Ext) \
206 llvm::PassPluginLibraryInfo get##Ext##PluginInfo();
291 #define HANDLE_EXTENSION(Ext) \
292 get##Ext##PluginInfo().RegisterPassBuilderCallbacks(PB);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp190 for (const auto *Ext : IDecl->visible_extensions())
191 if (ObjCPropertyDecl *PD = ObjCPropertyDecl::findPropertyDecl(Ext,
248 for (const auto *Ext : ClassDecl->visible_extensions()) {
249 if (auto *P = Ext->FindPropertyDeclaration(PropertyId, QueryKind))
398 for (const auto *Ext : known_extensions()) {
399 const ObjCCategoryDecl *ClassExt = Ext;
491 for (const auto *Ext : D->visible_extensions()) {
492 for (const auto *MD : Ext->instance_methods()) {
553 for (const auto *Ext : IFace->visible_extensions()) {
554 for (const auto *MD : Ext
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3754 /// Utility function to promote the operand of \p Ext when this
3758 /// created to promote the operand of Ext.
3762 /// \return The promoted value which is used instead of Ext.
3764 Instruction *Ext, TypePromotionTransaction &TPT,
3769 /// Utility function to promote the operand of \p Ext when this
3773 /// created to promote the operand of Ext.
3777 /// \return The promoted value which is used instead of Ext.
3778 static Value *promoteOperandForOther(Instruction *Ext,
3788 Instruction *Ext, TypePromotionTransaction &TPT,
3792 return promoteOperandForOther(Ext, TP
3787 signExtendOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) argument
3797 zeroExtendOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) argument
3933 getAction( Instruction *Ext, const SetOfInstrs &InsertedInsts, const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) argument
4014 promoteOperandForOther( Instruction *Ext, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInstsCost, SmallVectorImpl<Instruction *> *Exts, SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI, bool IsSExt) argument
4357 Instruction *Ext = dyn_cast<Instruction>(AddrInst); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp581 Instruction *Ext = nullptr; local
592 Ext = new ZExtInst(Op1, IVTy, "zext", ICI);
596 Ext = new SExtInst(Op1, IVTy, "sext", ICI);
600 L->makeLoopInvariant(Ext, Changed);
602 ICmpInst *NewICI = new ICmpInst(ICI, Pred, IV, Ext);
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp99 for (auto *Ext : iface->visible_extensions())
100 collectProperties(Ext, AtProps);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DTypes.cpp229 types::ID types::lookupTypeForExtension(llvm::StringRef Ext) { argument
230 return llvm::StringSwitch<types::ID>(Ext)
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp64 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp625 Instruction *Ext = (*I)->clone(); local
626 Ext->setOperand(0, Current);
627 Ext->insertBefore(IP);
628 Current = Ext;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp688 AArch64_AM::ShiftExtendType Ext; local
698 Ext = getExtendTypeForNode(N.getOperand(0));
699 if (Ext == AArch64_AM::InvalidShiftExtend)
704 Ext = getExtendTypeForNode(N);
705 if (Ext == AArch64_AM::InvalidShiftExtend)
711 if (Ext == AArch64_AM::UXTW &&
721 assert(Ext != AArch64_AM::UXTX && Ext != AArch64_AM::SXTX);
723 Shift = CurDAG->getTargetConstant(getArithExtendImm(Ext, ShiftVal), SDLoc(N),
930 AArch64_AM::ShiftExtendType Ext local
998 AArch64_AM::ShiftExtendType Ext = AArch64_AM::InvalidShiftExtend; local
2649 MachineSDNode *Ext = CurDAG->getMachineNode( local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp162 static Instruction *foldBitcastExtElt(ExtractElementInst &Ext, argument
167 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) ||
169 !match(Ext.getIndexOperand(), m_ConstantInt(ExtIndexC)))
176 Type *DestTy = Ext.getType();
178 unsigned NumElts = Ext.getVectorOperandType()->getNumElements();
230 if (!X->hasOneUse() || !Ext.getVectorOperand()->hasOneUse())
241 if (!Ext.getVectorOperand()->hasOneUse())
2049 auto *Ext = Builder.CreateExtractElement( local
2053 replaceInstUsesWith(*BC, Ext);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp262 for (const auto *Ext : InterfD->visible_extensions())
263 containsInvalidationMethod(Ext, OutInfo, Partial);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp248 for (auto Ext : {ISD::EXTLOAD, ISD::ZEXTLOAD, ISD::SEXTLOAD})
249 setLoadExtAction(Ext, T, MVT::i1, Promote);
256 for (auto Ext : {ISD::EXTLOAD, ISD::ZEXTLOAD, ISD::SEXTLOAD})
257 setLoadExtAction(Ext, T, MemT, Expand);
263 for (auto Ext : {ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}) {
264 setLoadExtAction(Ext, MVT::v8i16, MVT::v8i8, Legal);
265 setLoadExtAction(Ext, MVT::v4i32, MVT::v4i16, Legal);
266 setLoadExtAction(Ext, MVT::v2i64, MVT::v2i32, Legal);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp215 #define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp238 for (auto &Ext : *GlobalExtensions) {
239 if (std::get<0>(Ext) == ETy)
240 std::get<1>(Ext)(*this, PM);
H A DDeadArgumentElimination.cpp585 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(U.getUser())) {
588 unsigned Idx = *Ext->idx_begin();
590 RetValLiveness[Idx] = SurveyUses(Ext, MaybeLiveRetUses[Idx]);

Completed in 262 milliseconds

1234