Home
last modified time | relevance | path

Searched refs:Mod (Results 1 - 25 of 128) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
H A DLTOBackend.cpp156 static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, in runNewPMPasses() argument
224 MPM.run(Mod, MAM); in runNewPMPasses()
229 static void runNewPMCustomPasses(Module &Mod, TargetMachine *TM, in runNewPMCustomPasses() argument
269 MPM.run(Mod, MAM); in runNewPMCustomPasses()
272 static void runOldPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, in runOldPMPasses() argument
300 passes.run(Mod); in runOldPMPasses()
303 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt() argument
308 runNewPMCustomPasses(Mod, TM, Conf.OptPipeline, Conf.AAPipeline, in opt()
311 runNewPMPasses(Conf, Mod, TM, Conf.OptLevel, IsThinLTO, ExportSummary, in opt()
314 runOldPMPasses(Conf, Mod, T in opt()
335 codegen(const Config &Conf, TargetMachine *TM, AddStreamFn AddStream, unsigned Task, Module &Mod) codegen() argument
375 splitCodeGen(const Config &C, TargetMachine *TM, AddStreamFn AddStream, unsigned ParallelCodeGenParallelismLevel, std::unique_ptr<Module> Mod) splitCodeGen() argument
423 initAndLookupTarget(const Config &C, Module &Mod) initAndLookupTarget() argument
448 backend(const Config &C, AddStreamFn AddStream, unsigned ParallelCodeGenParallelismLevel, std::unique_ptr<Module> Mod, ModuleSummaryIndex &CombinedIndex) backend() argument
481 dropDeadSymbols(Module &Mod, const GVSummaryMapTy &DefinedGlobals, const ModuleSummaryIndex &Index) dropDeadSymbols() argument
502 thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream, Module &Mod, const ModuleSummaryIndex &CombinedIndex, const FunctionImporter::ImportMapTy &ImportList, const GVSummaryMapTy &DefinedGlobals, MapVector<StringRef, BitcodeModule> &ModuleMap) thinBackend() argument
[all...]
H A DLTOCodeGenerator.cpp151 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) { in setAsmUndefinedRefs() argument
152 const std::vector<StringRef> &undefs = Mod->getAsmUndefinedRefs(); in setAsmUndefinedRefs()
157 bool LTOCodeGenerator::addModule(LTOModule *Mod) { in addModule() argument
158 assert(&Mod->getModule().getContext() == &Context && in addModule()
161 bool ret = TheLinker->linkInModule(Mod->takeModule()); in addModule()
162 setAsmUndefinedRefs(Mod); in addModule()
170 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) { in setModule() argument
171 assert(&Mod->getModule().getContext() == &Context && in setModule()
176 MergedModule = Mod->takeModule(); in setModule()
178 setAsmUndefinedRefs(&*Mod); in setModule()
[all...]
H A DThinLTOCodeGenerator.cpp186 auto &Mod = Input->getSingleBitcodeModule(); in loadModuleFromInput() local
189 Lazy ? Mod.getLazyModule(Context, in loadModuleFromInput()
191 : Mod.parseModule(Context); in loadModuleFromInput()
194 SMDiagnostic Err = SMDiagnostic(Mod.getModuleIdentifier(), in loadModuleFromInput()
570 for (auto &Mod : Modules) { in linkCombinedIndex()
571 auto &M = Mod->getSingleBitcodeModule(); in linkCombinedIndex()
573 M.readSummary(*CombinedIndex, Mod->getName(), NextModuleId++)) { in linkCombinedIndex()
913 for (auto &Mod : Modules) { in run()
919 auto TheModule = loadModuleFromInput(Mod.get(), Context, false, in run()
1042 auto &Mod in run() local
[all...]
H A DLTO.cpp667 RegularLTOState::AddedModule Mod; in addRegularLTO() local
674 Mod.M = std::move(*MOrErr); in addRegularLTO()
685 Mod.Keep.push_back(&GV); in addRegularLTO()
724 Mod.Keep.push_back(GV); in addRegularLTO()
744 Mod.Keep.push_back(GV); in addRegularLTO()
777 return std::move(Mod); in addRegularLTO()
780 Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod, in linkRegularLTO() argument
783 for (GlobalValue *GV : Mod.Keep) { in linkRegularLTO()
802 return RegularLTO.Mover->move(std::move(Mod.M), Keep, in linkRegularLTO()
1284 for (auto &Mod
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceConverter.h34 Converter(llvm::Module *Mod, GlobalContext *Ctx) in Converter() argument
35 : Translator(Ctx), Mod(Mod), in Converter()
44 llvm::Module *getModule() const { return Mod; } in getModule()
51 llvm::Module *Mod; member in Ice::Converter
60 void nameUnnamedGlobalVariables(llvm::Module *Mod);
64 void nameUnnamedFunctions(llvm::Module *Mod);
70 void convertGlobals(llvm::Module *Mod);
73 void installGlobalDeclarations(llvm::Module *Mod);
H A DIceConverter.cpp671 /// declarations, for module Mod. Returns the set of converted declarations.
672 void convertGlobalsToIce(Module *Mod);
708 void LLVM2ICEGlobalsConverter::convertGlobalsToIce(Module *Mod) { in convertGlobalsToIce() argument
709 for (Module::const_global_iterator I = Mod->global_begin(), in convertGlobalsToIce()
710 E = Mod->global_end(); in convertGlobalsToIce()
811 void Converter::nameUnnamedGlobalVariables(Module *Mod) { in nameUnnamedGlobalVariables() argument
816 for (auto V = Mod->global_begin(), E = Mod->global_end(); V != E; ++V) { in nameUnnamedGlobalVariables()
826 void Converter::nameUnnamedFunctions(Module *Mod) { in nameUnnamedFunctions() argument
831 for (Function &F : *Mod) { in nameUnnamedFunctions()
861 installGlobalDeclarations(Module *Mod) installGlobalDeclarations() argument
913 convertGlobals(Module *Mod) convertGlobals() argument
[all...]
H A DIceCompiler.cpp133 std::unique_ptr<llvm::Module> Mod = in run() local
139 std::unique_ptr<llvm::Module> Mod = parseIRFile(IRFilename, Err, Context); in run() local
141 if (!Mod) { in run()
148 std::unique_ptr<Converter> Converter(new class Converter(Mod.get(), &Ctx)); in run()
H A DIceUtils.h98 uint64_t Mod = Pos & (Align - 1); in OffsetToAlignment() local
99 if (Mod == 0) in OffsetToAlignment()
101 return Align - Mod; in OffsetToAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DModuleDebugStream.cpp33 : Mod(Module), Stream(std::move(Stream)) {} in ModuleDebugStreamRef()
40 if (Mod.getModuleStreamIndex() != llvm::pdb::kInvalidStreamIndex) { in reload()
51 uint32_t SymbolSize = Mod.getSymbolDebugInfoByteSize(); in reloadSerialize()
52 uint32_t C11Size = Mod.getC11LineInfoByteSize(); in reloadSerialize()
53 uint32_t C13Size = Mod.getC13LineInfoByteSize(); in reloadSerialize()
H A DDbiModuleDescriptorBuilder.cpp1 //===- DbiModuleDescriptorBuilder.cpp - PDB Mod Info Creation ---*- C++ -*-===//
44 Layout.Mod = ModIndex; in DbiModuleDescriptorBuilder()
110 (void)Layout.Mod; // Set in constructor in finalize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.h44 virtual void begin(const Module &Mod) = 0;
79 void emitPrintf(const Module &Mod);
113 void begin(const Module &Mod) override;
151 void emitPrintf(const Module &Mod);
179 void begin(const Module &Mod) override;
H A DAMDGPUPromoteAlloca.cpp83 Module *Mod = nullptr; member in __anon24439::AMDGPUPromoteAlloca
141 Mod = &M; in doInitialization()
142 DL = &Mod->getDataLayout(); in doInitialization()
189 = Intrinsic::getDeclaration(Mod, Intrinsic::r600_read_local_size_y); in getLocalSizeYZ()
191 = Intrinsic::getDeclaration(Mod, Intrinsic::r600_read_local_size_z); in getLocalSizeYZ()
237 = Intrinsic::getDeclaration(Mod, Intrinsic::amdgcn_dispatch_ptr); in getLocalSizeYZ()
246 Type *I32Ty = Type::getInt32Ty(Mod->getContext()); in getLocalSizeYZ()
259 MDNode *MD = MDNode::get(Mod->getContext(), None); in getLocalSizeYZ()
293 Function *WorkitemIdFn = Intrinsic::getDeclaration(Mod, IntrID); in getWorkitemID()
648 const DataLayout &DL = Mod in hasSufficientLocalMem()
[all...]
H A DAMDGPULowerKernelAttributes.cpp44 Module *Mod = nullptr; member in __anon24430::AMDGPULowerKernelAttributes
68 Mod = &M; in doInitialization()
92 const DataLayout &DL = Mod->getDataLayout(); in processUse()
242 Function *DispatchPtr = Mod->getFunction(DispatchPtrName); in runOnModule()
H A DAMDGPUCodeGenPrepare.cpp70 Module *Mod = nullptr; member in __anon24421::AMDGPUCodeGenPrepare
277 const DataLayout &DL = Mod->getDataLayout(); in canWidenScalarExtLoad()
400 Intrinsic::getDeclaration(Mod, Intrinsic::bitreverse, { I32Ty }); in promoteUniformBitreverseToI32()
498 FunctionCallee Intrin = Intrinsic::getDeclaration(Mod, IntrID); in replaceMulWithMul24()
572 Function *Decl = Intrinsic::getDeclaration(Mod, Intrinsic::amdgcn_fdiv_fast); in visitFDiv()
642 const DataLayout &DL = Mod->getDataLayout(); in expandDivRem24()
963 MDNode::get(Mod->getContext(), LowAndHigh)); in visitLoadInst()
967 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst()
1019 Mod = &M; in doInitialization()
1020 DL = &Mod in doInitialization()
[all...]
H A DAMDGPUHSAMetadataStreamer.cpp253 void MetadataStreamerV2::emitPrintf(const Module &Mod) { in emitPrintf() argument
256 auto Node = Mod.getNamedMetadata("llvm.printf.fmts"); in emitPrintf()
454 void MetadataStreamerV2::begin(const Module &Mod) { in begin() argument
456 emitPrintf(Mod); in begin()
664 void MetadataStreamerV3::emitPrintf(const Module &Mod) { in emitPrintf() argument
665 auto Node = Mod.getNamedMetadata("llvm.printf.fmts"); in emitPrintf()
924 void MetadataStreamerV3::begin(const Module &Mod) { in begin() argument
926 emitPrintf(Mod); in begin()
H A DSIPeepholeSDWA.cpp335 if (auto *Mod = TII->getNamedOperand(*MI, AMDGPU::OpName::src0_modifiers)) { in getSrcMods()
336 Mods = Mod->getImm(); in getSrcMods()
339 if (auto *Mod = TII->getNamedOperand(*MI, AMDGPU::OpName::src1_modifiers)) { in getSrcMods()
340 Mods = Mod->getImm(); in getSrcMods()
1036 if (auto *Mod = TII->getNamedOperand(MI, AMDGPU::OpName::src0_modifiers)) in convertToSDWA()
1037 SDWAInst.addImm(Mod->getImm()); in convertToSDWA()
1048 if (auto *Mod = TII->getNamedOperand(MI, AMDGPU::OpName::src1_modifiers)) in convertToSDWA()
1049 SDWAInst.addImm(Mod->getImm()); in convertToSDWA()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
H A DOrcCBindings.cpp71 LLVMModuleRef Mod, in LLVMOrcAddEagerlyCompiledIR()
75 std::unique_ptr<Module> M(unwrap(Mod)); in LLVMOrcAddEagerlyCompiledIR()
86 LLVMModuleRef Mod, in LLVMOrcAddLazilyCompiledIR()
90 std::unique_ptr<Module> M(unwrap(Mod)); in LLVMOrcAddLazilyCompiledIR()
69 LLVMOrcAddEagerlyCompiledIR(LLVMOrcJITStackRef JITStack, LLVMOrcModuleHandle *RetHandle, LLVMModuleRef Mod, LLVMOrcSymbolResolverFn SymbolResolver, void *SymbolResolverCtx) LLVMOrcAddEagerlyCompiledIR() argument
84 LLVMOrcAddLazilyCompiledIR(LLVMOrcJITStackRef JITStack, LLVMOrcModuleHandle *RetHandle, LLVMModuleRef Mod, LLVMOrcSymbolResolverFn SymbolResolver, void *SymbolResolverCtx) LLVMOrcAddLazilyCompiledIR() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h53 std::unique_ptr<Module> Mod; member
117 const Module &getModule() const { return *Mod; } in getModule()
118 Module &getModule() { return *Mod; } in getModule()
120 std::unique_ptr<Module> takeModule() { return std::move(Mod); } in takeModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp194 [this](ModifierEntry const &Mod) { return Mod.VariantKind == Kind; }); in getName()
205 [&Name](ModifierEntry const &Mod) { return Mod.Spelling == Name; }); in getKindByName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp183 std::unique_ptr<Module> Mod(unwrap(M)); in LLVMCreateMCJITCompilerForModule()
185 if (Mod) in LLVMCreateMCJITCompilerForModule()
188 for (auto &F : *Mod) { in LLVMCreateMCJITCompilerForModule()
197 EngineBuilder builder(std::move(Mod)); in LLVMCreateMCJITCompilerForModule()
263 Module *Mod = unwrap(M); in LLVMRemoveModule() local
264 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule()
265 *OutMod = wrap(Mod); in LLVMRemoveModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
H A DOrcBindings.h96 LLVMModuleRef Mod,
105 LLVMModuleRef Mod,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DIRSymtab.cpp128 storage::Module Mod; in addModule() local
129 Mod.Begin = Syms.size(); in addModule()
130 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule()
131 Mod.UncBegin = Uncommons.size(); in addModule()
132 Mods.push_back(Mod); in addModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
H A DTargetMachineC.cpp190 Module* Mod = unwrap(M); in LLVMTargetMachineEmit() local
196 Mod->setDataLayout(TM->createDataLayout()); in LLVMTargetMachineEmit()
213 pass.run(*Mod); in LLVMTargetMachineEmit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DCore.cpp1131 Module *Mod = unwrap(M);
1132 Module::named_metadata_iterator I = Mod->named_metadata_begin();
1133 if (I == Mod->named_metadata_end())
1139 Module *Mod = unwrap(M);
1140 Module::named_metadata_iterator I = Mod->named_metadata_end();
1141 if (I == Mod->named_metadata_begin())
2087 Module *Mod = unwrap(M);
2088 Module::global_iterator I = Mod->global_begin();
2089 if (I == Mod->global_end())
2095 Module *Mod
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DStringExtras.h55 unsigned char Mod = static_cast<unsigned char>(X) & 15; in utohexstr() local
56 *--BufPtr = hexdigit(Mod, LowerCase); in utohexstr()

Completed in 45 milliseconds

123456