Lines Matching refs:Module

72 Module::Module(StringRef MID, LLVMContext &C)  in Module()  function in Module
79 Module::~Module() { in ~Module()
89 Module::createRNG(const StringRef Name) const { in createRNG()
111 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
115 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
121 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
128 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
132 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
145 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
163 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction()
170 Function *Module::getFunction(StringRef Name) const { in getFunction()
185 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable()
200 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal()
214 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal()
228 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
232 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc()
239 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
248 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
260 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
265 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
276 bool Module::isValidModuleFlag(const MDNode &ModFlag, ModFlagBehavior &MFB, in isValidModuleFlag()
291 void Module::
310 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag()
311 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag()
323 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
330 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()
337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
345 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
354 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag()
363 void Module::setModuleFlag(ModFlagBehavior Behavior, StringRef Key, in setModuleFlag()
380 void Module::setDataLayout(StringRef Desc) { in setDataLayout()
384 void Module::setDataLayout(const DataLayout &Other) { DL = Other; } in setDataLayout()
386 DICompileUnit *Module::debug_compile_units_iterator::operator*() const { in operator *()
389 DICompileUnit *Module::debug_compile_units_iterator::operator->() const { in operator ->()
393 void Module::debug_compile_units_iterator::SkipNoDebugCUs() { in SkipNoDebugCUs()
399 iterator_range<Module::global_object_iterator> Module::global_objects() { in global_objects()
402 iterator_range<Module::const_global_object_iterator>
403 Module::global_objects() const { in global_objects()
407 iterator_range<Module::global_value_iterator> Module::global_values() { in global_values()
410 iterator_range<Module::const_global_value_iterator>
411 Module::global_values() const { in global_values()
418 void Module::setMaterializer(GVMaterializer *GVM) { in setMaterializer()
425 Error Module::materialize(GlobalValue *GV) { in materialize()
432 Error Module::materializeAll() { in materializeAll()
439 Error Module::materializeMetadata() { in materializeMetadata()
449 std::vector<StructType *> Module::getIdentifiedStructTypes() const { in getIdentifiedStructTypes()
463 std::string Module::getUniqueIntrinsicName(StringRef BaseName, Intrinsic::ID Id, in getUniqueIntrinsicName()
520 void Module::dropAllReferences() { in dropAllReferences()
534 unsigned Module::getNumberRegisterParameters() const { in getNumberRegisterParameters()
542 unsigned Module::getDwarfVersion() const { in getDwarfVersion()
549 bool Module::isDwarf64() const { in isDwarf64()
554 unsigned Module::getCodeViewFlag() const { in getCodeViewFlag()
561 unsigned Module::getInstructionCount() const { in getInstructionCount()
568 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat()
574 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
584 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
590 PIELevel::Level Module::getPIELevel() const { in getPIELevel()
600 void Module::setPIELevel(PIELevel::Level PL) { in setPIELevel()
604 std::optional<CodeModel::Model> Module::getCodeModel() const { in getCodeModel()
614 void Module::setCodeModel(CodeModel::Model CL) { in setCodeModel()
622 std::optional<uint64_t> Module::getLargeDataThreshold() const { in getLargeDataThreshold()
632 void Module::setLargeDataThreshold(uint64_t Threshold) { in setLargeDataThreshold()
639 void Module::setProfileSummary(Metadata *M, ProfileSummary::Kind Kind) { in setProfileSummary()
646 Metadata *Module::getProfileSummary(bool IsCS) const { in getProfileSummary()
651 bool Module::getSemanticInterposition() const { in getSemanticInterposition()
661 void Module::setSemanticInterposition(bool SI) { in setSemanticInterposition()
665 void Module::setOwnedMemoryBuffer(std::unique_ptr<MemoryBuffer> MB) { in setOwnedMemoryBuffer()
669 bool Module::getRtLibUseGOT() const { in getRtLibUseGOT()
674 void Module::setRtLibUseGOT() { in setRtLibUseGOT()
678 bool Module::getDirectAccessExternalData() const { in getDirectAccessExternalData()
686 void Module::setDirectAccessExternalData(bool Value) { in setDirectAccessExternalData()
690 UWTableKind Module::getUwtable() const { in getUwtable()
696 void Module::setUwtable(UWTableKind Kind) { in setUwtable()
700 FramePointerKind Module::getFramePointer() const { in getFramePointer()
706 void Module::setFramePointer(FramePointerKind Kind) { in setFramePointer()
710 StringRef Module::getStackProtectorGuard() const { in getStackProtectorGuard()
717 void Module::setStackProtectorGuard(StringRef Kind) { in setStackProtectorGuard()
722 StringRef Module::getStackProtectorGuardReg() const { in getStackProtectorGuardReg()
729 void Module::setStackProtectorGuardReg(StringRef Reg) { in setStackProtectorGuardReg()
734 StringRef Module::getStackProtectorGuardSymbol() const { in getStackProtectorGuardSymbol()
741 void Module::setStackProtectorGuardSymbol(StringRef Symbol) { in setStackProtectorGuardSymbol()
746 int Module::getStackProtectorGuardOffset() const { in getStackProtectorGuardOffset()
753 void Module::setStackProtectorGuardOffset(int Offset) { in setStackProtectorGuardOffset()
757 unsigned Module::getOverrideStackAlignment() const { in getOverrideStackAlignment()
764 unsigned Module::getMaxTLSAlignment() const { in getMaxTLSAlignment()
771 void Module::setOverrideStackAlignment(unsigned Align) { in setOverrideStackAlignment()
775 static void addSDKVersionMD(const VersionTuple &V, Module &M, StringRef Name) { in addSDKVersionMD()
785 M.addModuleFlag(Module::ModFlagBehavior::Warning, Name, in addSDKVersionMD()
789 void Module::setSDKVersion(const VersionTuple &V) { in setSDKVersion()
818 VersionTuple Module::getSDKVersion() const { in getSDKVersion()
823 const Module &M, SmallVectorImpl<GlobalValue *> &Vec, bool CompilerUsed) { in collectUsedGlobalVariables()
837 void Module::setPartialSampleProfileRatio(const ModuleSummaryIndex &Index) { in setPartialSampleProfileRatio()
857 StringRef Module::getDarwinTargetVariantTriple() const { in getDarwinTargetVariantTriple()
863 void Module::setDarwinTargetVariantTriple(StringRef T) { in setDarwinTargetVariantTriple()
868 VersionTuple Module::getDarwinTargetVariantSDKVersion() const { in getDarwinTargetVariantSDKVersion()
872 void Module::setDarwinTargetVariantSDKVersion(VersionTuple Version) { in setDarwinTargetVariantSDKVersion()