Lines Matching refs:GlobalValue

34 static_assert(sizeof(GlobalValue) ==
39 static_assert(sizeof(GlobalObject) == sizeof(GlobalValue) + sizeof(void *),
42 bool GlobalValue::isMaterializable() const { in isMaterializable()
47 Error GlobalValue::materialize() { in materialize()
53 void GlobalValue::destroyConstantImpl() { in destroyConstantImpl()
57 Value *GlobalValue::handleOperandChangeImpl(Value *From, Value *To) { in handleOperandChangeImpl()
63 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom()
76 void GlobalValue::removeFromParent() { in removeFromParent()
88 void GlobalValue::eraseFromParent() { in eraseFromParent()
102 bool GlobalValue::isInterposable() const { in isInterposable()
109 bool GlobalValue::canBenefitFromLocalAlias() const { in canBenefitFromLocalAlias()
121 unsigned GlobalValue::getAddressSpace() const { in getAddressSpace()
137 GlobalValue::copyAttributesFrom(Src); in copyAttributesFrom()
142 std::string GlobalValue::getGlobalIdentifier(StringRef Name, in getGlobalIdentifier()
143 GlobalValue::LinkageTypes Linkage, in getGlobalIdentifier()
153 if (llvm::GlobalValue::isLocalLinkage(Linkage)) { in getGlobalIdentifier()
166 std::string GlobalValue::getGlobalIdentifier() const { in getGlobalIdentifier()
171 StringRef GlobalValue::getSection() const { in getSection()
181 const Comdat *GlobalValue::getComdat() const { in getComdat()
202 StringRef GlobalValue::getPartition() const { in getPartition()
208 void GlobalValue::setPartition(StringRef S) { in setPartition()
224 using SanitizerMetadata = GlobalValue::SanitizerMetadata;
225 const SanitizerMetadata &GlobalValue::getSanitizerMetadata() const { in getSanitizerMetadata()
231 void GlobalValue::setSanitizerMetadata(SanitizerMetadata Meta) { in setSanitizerMetadata()
236 void GlobalValue::removeSanitizerMetadata() { in removeSanitizerMetadata()
237 DenseMap<const GlobalValue *, SanitizerMetadata> &MetadataMap = in removeSanitizerMetadata()
264 bool GlobalValue::isDeclaration() const { in isDeclaration()
358 const GlobalObject *GlobalValue::getAliaseeObject() const { in getAliaseeObject()
360 return findBaseObject(this, Aliases, [](const GlobalValue &) {}); in getAliaseeObject() argument
363 bool GlobalValue::isAbsoluteSymbolRef() const { in isAbsoluteSymbolRef()
371 Optional<ConstantRange> GlobalValue::getAbsoluteSymbolRange() const { in getAbsoluteSymbolRange()
383 bool GlobalValue::canBeOmittedFromSymbolTable() const { in canBeOmittedFromSymbolTable()
502 : GlobalValue(Ty, Value::GlobalAliasVal, &Op<0>(), 1, Link, Name, in GlobalAlias()
523 GlobalValue *Aliasee) { in create()
528 GlobalValue *Aliasee) { in create()
533 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create()
553 return findBaseObject(getOperand(0), Aliases, [](const GlobalValue &) {}); in getAliaseeObject() argument
587 findBaseObject(getResolver(), Aliases, [](const GlobalValue &) {})); in getResolverFunction() argument
591 function_ref<void(const GlobalValue &)> Op) const { in applyAlongResolverPath()