Lines Matching refs:Module
49 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
56 Module::~Module() { in ~Module()
67 RandomNumberGenerator *Module::createRNG(const Pass* P) const { in createRNG()
88 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
94 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
101 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
105 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
118 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
141 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
151 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
170 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
191 Function *Module::getFunction(StringRef Name) const { in getFunction()
206 GlobalVariable *Module::getGlobalVariable(StringRef Name, bool AllowLocal) { in getGlobalVariable()
220 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal()
249 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
256 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
265 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
278 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
283 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
295 void Module::
316 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag()
317 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag()
329 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
336 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()
343 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
351 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
355 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
360 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag()
369 void Module::setDataLayout(StringRef Desc) { in setDataLayout()
373 void Module::setDataLayout(const DataLayout &Other) { DL = Other; } in setDataLayout()
375 const DataLayout &Module::getDataLayout() const { return DL; } in getDataLayout()
380 void Module::setMaterializer(GVMaterializer *GVM) { in setMaterializer()
387 std::error_code Module::materialize(GlobalValue *GV) { in materialize()
394 std::error_code Module::materializeAll() { in materializeAll()
401 std::error_code Module::materializeMetadata() { in materializeMetadata()
411 std::vector<StructType *> Module::getIdentifiedStructTypes() const { in getIdentifiedStructTypes()
432 void Module::dropAllReferences() { in dropAllReferences()
443 unsigned Module::getDwarfVersion() const { in getDwarfVersion()
450 unsigned Module::getCodeViewFlag() const { in getCodeViewFlag()
457 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat()
463 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
473 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
477 void Module::setMaximumFunctionCount(uint64_t Count) { in setMaximumFunctionCount()
481 Optional<uint64_t> Module::getMaximumFunctionCount() { in getMaximumFunctionCount()