Searched refs:ModuleConstant (Results 1 – 4 of 4) sorted by relevance
185 ModuleConstant* Declarations::LookupModuleConstant(const std::string& name) { in LookupModuleConstant()189 return ModuleConstant::cast(declarable); in LookupModuleConstant()338 ModuleConstant* Declarations::DeclareModuleConstant(const std::string& name, in DeclareModuleConstant()341 ModuleConstant* result = new ModuleConstant(name, type); in DeclareModuleConstant()
121 class ModuleConstant : public Value {123 DECLARE_DECLARABLE_BOILERPLATE(ModuleConstant, constant);129 explicit ModuleConstant(const std::string& name, const Type* type) in ModuleConstant() function
70 ModuleConstant* LookupModuleConstant(const std::string& name);104 ModuleConstant* DeclareModuleConstant(const std::string& name,
859 llvm::Constant *ModuleConstant = in EmbedBitcode() local862 *M, ModuleConstant->getType(), true, llvm::GlobalValue::PrivateLinkage, in EmbedBitcode()863 ModuleConstant); in EmbedBitcode()