Lines Matching refs:GlobalValue

35 static_assert(sizeof(GlobalValue) ==
40 static_assert(sizeof(GlobalObject) == sizeof(GlobalValue) + sizeof(void *),
43 bool GlobalValue::isMaterializable() const { in isMaterializable()
48 Error GlobalValue::materialize() { return getParent()->materialize(this); } in materialize()
52 void GlobalValue::destroyConstantImpl() { in destroyConstantImpl()
56 Value *GlobalValue::handleOperandChangeImpl(Value *From, Value *To) { in handleOperandChangeImpl()
62 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom()
75 GlobalValue::GUID GlobalValue::getGUID(StringRef GlobalName) { in getGUID()
79 void GlobalValue::removeFromParent() { in removeFromParent()
91 void GlobalValue::eraseFromParent() { in eraseFromParent()
105 bool GlobalValue::isInterposable() const { in isInterposable()
112 bool GlobalValue::canBenefitFromLocalAlias() const { in canBenefitFromLocalAlias()
124 const DataLayout &GlobalValue::getDataLayout() const { in getDataLayout()
148 GlobalValue::copyAttributesFrom(Src); in copyAttributesFrom()
153 std::string GlobalValue::getGlobalIdentifier(StringRef Name, in getGlobalIdentifier()
154 GlobalValue::LinkageTypes Linkage, in getGlobalIdentifier()
162 if (llvm::GlobalValue::isLocalLinkage(Linkage)) { in getGlobalIdentifier()
178 std::string GlobalValue::getGlobalIdentifier() const { in getGlobalIdentifier()
183 StringRef GlobalValue::getSection() const { in getSection()
193 const Comdat *GlobalValue::getComdat() const { in getComdat()
214 StringRef GlobalValue::getPartition() const { in getPartition()
220 void GlobalValue::setPartition(StringRef S) { in setPartition()
236 using SanitizerMetadata = GlobalValue::SanitizerMetadata;
237 const SanitizerMetadata &GlobalValue::getSanitizerMetadata() const { in getSanitizerMetadata()
243 void GlobalValue::setSanitizerMetadata(SanitizerMetadata Meta) { in setSanitizerMetadata()
248 void GlobalValue::removeSanitizerMetadata() { in removeSanitizerMetadata()
249 DenseMap<const GlobalValue *, SanitizerMetadata> &MetadataMap = in removeSanitizerMetadata()
255 void GlobalValue::setNoSanitizeMetadata() { in setNoSanitizeMetadata()
283 bool GlobalValue::isNobuiltinFnDef() const { in isNobuiltinFnDef()
290 bool GlobalValue::isDeclaration() const { in isDeclaration()
394 const GlobalObject *GlobalValue::getAliaseeObject() const { in getAliaseeObject()
396 return findBaseObject(this, Aliases, [](const GlobalValue &) {}); in getAliaseeObject() argument
399 bool GlobalValue::isAbsoluteSymbolRef() const { in isAbsoluteSymbolRef()
407 std::optional<ConstantRange> GlobalValue::getAbsoluteSymbolRange() const { in getAbsoluteSymbolRange()
419 bool GlobalValue::canBeOmittedFromSymbolTable() const { in canBeOmittedFromSymbolTable()
537 : GlobalValue(Ty, Value::GlobalAliasVal, &Op<0>(), 1, Link, Name, in GlobalAlias()
558 GlobalValue *Aliasee) { in create()
563 GlobalValue *Aliasee) { in create()
568 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create()
584 return findBaseObject(getOperand(0), Aliases, [](const GlobalValue &) {}); in getAliaseeObject() argument
616 function_ref<void(const GlobalValue &)> Op) const { in applyAlongResolverPath()