Lines Matching refs:Module

74 Module::Module(StringRef MID, LLVMContext &C)  in Module()  function in Module
81 Module::~Module() { in ~Module()
91 Module::createRNG(const StringRef Name) const { in createRNG()
113 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
117 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
123 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
130 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
134 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
147 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
171 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction()
178 Function *Module::getFunction(StringRef Name) const { in getFunction()
193 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable()
208 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal()
229 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal()
243 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
247 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc()
254 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
263 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
275 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
280 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
291 bool Module::isValidModuleFlag(const MDNode &ModFlag, ModFlagBehavior &MFB, in isValidModuleFlag()
306 void Module::
325 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag()
326 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag()
338 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
345 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()
352 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
360 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
364 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
369 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag()
378 void Module::setModuleFlag(ModFlagBehavior Behavior, StringRef Key, in setModuleFlag()
395 void Module::setDataLayout(StringRef Desc) { in setDataLayout()
399 void Module::setDataLayout(const DataLayout &Other) { DL = Other; } in setDataLayout()
401 const DataLayout &Module::getDataLayout() const { return DL; } in getDataLayout()
403 DICompileUnit *Module::debug_compile_units_iterator::operator*() const { in operator *()
406 DICompileUnit *Module::debug_compile_units_iterator::operator->() const { in operator ->()
410 void Module::debug_compile_units_iterator::SkipNoDebugCUs() { in SkipNoDebugCUs()
416 iterator_range<Module::global_object_iterator> Module::global_objects() { in global_objects()
419 iterator_range<Module::const_global_object_iterator>
420 Module::global_objects() const { in global_objects()
424 iterator_range<Module::global_value_iterator> Module::global_values() { in global_values()
427 iterator_range<Module::const_global_value_iterator>
428 Module::global_values() const { in global_values()
435 void Module::setMaterializer(GVMaterializer *GVM) { in setMaterializer()
442 Error Module::materialize(GlobalValue *GV) { in materialize()
449 Error Module::materializeAll() { in materializeAll()
456 Error Module::materializeMetadata() { in materializeMetadata()
466 std::vector<StructType *> Module::getIdentifiedStructTypes() const { in getIdentifiedStructTypes()
480 std::string Module::getUniqueIntrinsicName(StringRef BaseName, Intrinsic::ID Id, in getUniqueIntrinsicName()
537 void Module::dropAllReferences() { in dropAllReferences()
551 unsigned Module::getNumberRegisterParameters() const { in getNumberRegisterParameters()
559 unsigned Module::getDwarfVersion() const { in getDwarfVersion()
566 bool Module::isDwarf64() const { in isDwarf64()
571 unsigned Module::getCodeViewFlag() const { in getCodeViewFlag()
578 unsigned Module::getInstructionCount() const { in getInstructionCount()
585 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat()
591 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
601 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
605 PIELevel::Level Module::getPIELevel() const { in getPIELevel()
615 void Module::setPIELevel(PIELevel::Level PL) { in setPIELevel()
619 Optional<CodeModel::Model> Module::getCodeModel() const { in getCodeModel()
629 void Module::setCodeModel(CodeModel::Model CL) { in setCodeModel()
637 void Module::setProfileSummary(Metadata *M, ProfileSummary::Kind Kind) { in setProfileSummary()
644 Metadata *Module::getProfileSummary(bool IsCS) const { in getProfileSummary()
649 bool Module::getSemanticInterposition() const { in getSemanticInterposition()
659 void Module::setSemanticInterposition(bool SI) { in setSemanticInterposition()
663 void Module::setOwnedMemoryBuffer(std::unique_ptr<MemoryBuffer> MB) { in setOwnedMemoryBuffer()
667 bool Module::getRtLibUseGOT() const { in getRtLibUseGOT()
672 void Module::setRtLibUseGOT() { in setRtLibUseGOT()
676 bool Module::getUwtable() const { in getUwtable()
681 void Module::setUwtable() { addModuleFlag(ModFlagBehavior::Max, "uwtable", 1); } 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 int Module::getStackProtectorGuardOffset() const { in getStackProtectorGuardOffset()
724 void Module::setStackProtectorGuardOffset(int Offset) { in setStackProtectorGuardOffset()
728 unsigned Module::getOverrideStackAlignment() const { in getOverrideStackAlignment()
735 void Module::setOverrideStackAlignment(unsigned Align) { in setOverrideStackAlignment()
739 void Module::setSDKVersion(const VersionTuple &V) { in setSDKVersion()
753 VersionTuple Module::getSDKVersion() const { in getSDKVersion()
779 const Module &M, SmallVectorImpl<GlobalValue *> &Vec, bool CompilerUsed) { in collectUsedGlobalVariables()
793 void Module::setPartialSampleProfileRatio(const ModuleSummaryIndex &Index) { in setPartialSampleProfileRatio()