Lines Matching refs:Module

72 Module::Module(StringRef MID, LLVMContext &C)  in Module()  function in Module
78 Module::~Module() { in ~Module()
88 Module::createRNG(const StringRef Name) const { in createRNG()
110 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
114 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
120 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
127 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
131 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
144 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
168 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction()
175 Function *Module::getFunction(StringRef Name) const { in getFunction()
190 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable()
205 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal()
226 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal()
240 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
244 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc()
251 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
260 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
272 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
277 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
288 bool Module::isValidModuleFlag(const MDNode &ModFlag, ModFlagBehavior &MFB, in isValidModuleFlag()
303 void Module::
322 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag()
323 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag()
335 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
342 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()
349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
357 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
361 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
366 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag()
375 void Module::setModuleFlag(ModFlagBehavior Behavior, StringRef Key, in setModuleFlag()
392 void Module::setDataLayout(StringRef Desc) { in setDataLayout()
396 void Module::setDataLayout(const DataLayout &Other) { DL = Other; } in setDataLayout()
398 const DataLayout &Module::getDataLayout() const { return DL; } in getDataLayout()
400 DICompileUnit *Module::debug_compile_units_iterator::operator*() const { in operator *()
403 DICompileUnit *Module::debug_compile_units_iterator::operator->() const { in operator ->()
407 void Module::debug_compile_units_iterator::SkipNoDebugCUs() { in SkipNoDebugCUs()
413 iterator_range<Module::global_object_iterator> Module::global_objects() { in global_objects()
416 iterator_range<Module::const_global_object_iterator>
417 Module::global_objects() const { in global_objects()
421 iterator_range<Module::global_value_iterator> Module::global_values() { in global_values()
424 iterator_range<Module::const_global_value_iterator>
425 Module::global_values() const { in global_values()
432 void Module::setMaterializer(GVMaterializer *GVM) { in setMaterializer()
439 Error Module::materialize(GlobalValue *GV) { in materialize()
446 Error Module::materializeAll() { in materializeAll()
453 Error Module::materializeMetadata() { in materializeMetadata()
463 std::vector<StructType *> Module::getIdentifiedStructTypes() const { in getIdentifiedStructTypes()
477 std::string Module::getUniqueIntrinsicName(StringRef BaseName, Intrinsic::ID Id, in getUniqueIntrinsicName()
534 void Module::dropAllReferences() { in dropAllReferences()
548 unsigned Module::getNumberRegisterParameters() const { in getNumberRegisterParameters()
556 unsigned Module::getDwarfVersion() const { in getDwarfVersion()
563 bool Module::isDwarf64() const { in isDwarf64()
568 unsigned Module::getCodeViewFlag() const { in getCodeViewFlag()
575 unsigned Module::getInstructionCount() const { in getInstructionCount()
582 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat()
588 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
598 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
602 PIELevel::Level Module::getPIELevel() const { in getPIELevel()
612 void Module::setPIELevel(PIELevel::Level PL) { in setPIELevel()
616 Optional<CodeModel::Model> Module::getCodeModel() const { in getCodeModel()
626 void Module::setCodeModel(CodeModel::Model CL) { in setCodeModel()
634 void Module::setProfileSummary(Metadata *M, ProfileSummary::Kind Kind) { in setProfileSummary()
641 Metadata *Module::getProfileSummary(bool IsCS) const { in getProfileSummary()
646 bool Module::getSemanticInterposition() const { in getSemanticInterposition()
656 void Module::setSemanticInterposition(bool SI) { in setSemanticInterposition()
660 void Module::setOwnedMemoryBuffer(std::unique_ptr<MemoryBuffer> MB) { in setOwnedMemoryBuffer()
664 bool Module::getRtLibUseGOT() const { in getRtLibUseGOT()
669 void Module::setRtLibUseGOT() { in setRtLibUseGOT()
673 UWTableKind Module::getUwtable() const { in getUwtable()
679 void Module::setUwtable(UWTableKind Kind) { in setUwtable()
683 FramePointerKind Module::getFramePointer() const { in getFramePointer()
689 void Module::setFramePointer(FramePointerKind Kind) { in setFramePointer()
693 StringRef Module::getStackProtectorGuard() const { in getStackProtectorGuard()
700 void Module::setStackProtectorGuard(StringRef Kind) { in setStackProtectorGuard()
705 StringRef Module::getStackProtectorGuardReg() const { in getStackProtectorGuardReg()
712 void Module::setStackProtectorGuardReg(StringRef Reg) { in setStackProtectorGuardReg()
717 StringRef Module::getStackProtectorGuardSymbol() const { in getStackProtectorGuardSymbol()
724 void Module::setStackProtectorGuardSymbol(StringRef Symbol) { in setStackProtectorGuardSymbol()
729 int Module::getStackProtectorGuardOffset() const { in getStackProtectorGuardOffset()
736 void Module::setStackProtectorGuardOffset(int Offset) { in setStackProtectorGuardOffset()
740 unsigned Module::getOverrideStackAlignment() const { in getOverrideStackAlignment()
747 void Module::setOverrideStackAlignment(unsigned Align) { in setOverrideStackAlignment()
751 static void addSDKVersionMD(const VersionTuple &V, Module &M, StringRef Name) { in addSDKVersionMD()
761 M.addModuleFlag(Module::ModFlagBehavior::Warning, Name, in addSDKVersionMD()
765 void Module::setSDKVersion(const VersionTuple &V) { in setSDKVersion()
794 VersionTuple Module::getSDKVersion() const { in getSDKVersion()
799 const Module &M, SmallVectorImpl<GlobalValue *> &Vec, bool CompilerUsed) { in collectUsedGlobalVariables()
813 void Module::setPartialSampleProfileRatio(const ModuleSummaryIndex &Index) { in setPartialSampleProfileRatio()
833 StringRef Module::getDarwinTargetVariantTriple() const { in getDarwinTargetVariantTriple()
839 void Module::setDarwinTargetVariantTriple(StringRef T) { in setDarwinTargetVariantTriple()
844 VersionTuple Module::getDarwinTargetVariantSDKVersion() const { in getDarwinTargetVariantSDKVersion()
848 void Module::setDarwinTargetVariantSDKVersion(VersionTuple Version) { in setDarwinTargetVariantSDKVersion()