Lines Matching refs:Module
74 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
81 Module::~Module() { in ~Module()
93 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG()
114 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
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 Constant *Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
168 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
176 Function *Module::getFunction(StringRef Name) const { in getFunction()
191 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable()
206 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal()
227 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal()
241 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
245 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc()
252 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
261 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
274 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
279 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
291 void Module::
312 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag()
313 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag()
325 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
332 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()
339 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
347 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
351 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
356 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag()
365 void Module::setDataLayout(StringRef Desc) { in setDataLayout()
369 void Module::setDataLayout(const DataLayout &Other) { DL = Other; } in setDataLayout()
371 const DataLayout &Module::getDataLayout() const { return DL; } in getDataLayout()
373 DICompileUnit *Module::debug_compile_units_iterator::operator*() const { in operator *()
376 DICompileUnit *Module::debug_compile_units_iterator::operator->() const { in operator ->()
380 void Module::debug_compile_units_iterator::SkipNoDebugCUs() { in SkipNoDebugCUs()
389 void Module::setMaterializer(GVMaterializer *GVM) { in setMaterializer()
396 Error Module::materialize(GlobalValue *GV) { in materialize()
403 Error Module::materializeAll() { in materializeAll()
410 Error Module::materializeMetadata() { in materializeMetadata()
420 std::vector<StructType *> Module::getIdentifiedStructTypes() const { in getIdentifiedStructTypes()
441 void Module::dropAllReferences() { in dropAllReferences()
455 unsigned Module::getNumberRegisterParameters() const { in getNumberRegisterParameters()
463 unsigned Module::getDwarfVersion() const { in getDwarfVersion()
470 unsigned Module::getCodeViewFlag() const { in getCodeViewFlag()
477 unsigned Module::getInstructionCount() { in getInstructionCount()
484 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat()
490 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
500 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
504 PIELevel::Level Module::getPIELevel() const { in getPIELevel()
514 void Module::setPIELevel(PIELevel::Level PL) { in setPIELevel()
518 Optional<CodeModel::Model> Module::getCodeModel() const { in getCodeModel()
528 void Module::setCodeModel(CodeModel::Model CL) { in setCodeModel()
536 void Module::setProfileSummary(Metadata *M) { in setProfileSummary()
540 Metadata *Module::getProfileSummary() { in getProfileSummary()
544 void Module::setOwnedMemoryBuffer(std::unique_ptr<MemoryBuffer> MB) { in setOwnedMemoryBuffer()
548 bool Module::getRtLibUseGOT() const { in getRtLibUseGOT()
553 void Module::setRtLibUseGOT() { in setRtLibUseGOT()
557 void Module::setSDKVersion(const VersionTuple &V) { in setSDKVersion()
571 VersionTuple Module::getSDKVersion() const { in getSDKVersion()
597 const Module &M, SmallPtrSetImpl<GlobalValue *> &Set, bool CompilerUsed) { in collectUsedGlobalVariables()