LLVM 20.0.0git
llvm::Constant Member List

This is the complete list of members for llvm::Constant, including all inherited members.

addMetadata(unsigned KindID, MDNode &MD)llvm::Valueprotected
addMetadata(StringRef Kind, MDNode &MD)llvm::Valueprotected
addUse(Use &U)llvm::Valueinline
allocHungoffUses(unsigned N, bool IsPhi=false)llvm::Userprotected
assertModuleIsMaterialized() constllvm::Valueinline
assertModuleIsMaterializedImpl() constllvm::Value
canBeFreed() constllvm::Value
classof(const Value *V)llvm::Constantinlinestatic
clearMetadata()llvm::Valueprotected
clearSubclassOptionalData()llvm::Valueinline
const_op_iterator typedefllvm::User
const_op_range typedefllvm::User
const_use_iterator typedefllvm::Value
const_user_iterator typedefllvm::Value
Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)llvm::Constantinlineprotected
Constant(const Constant &)=deletellvm::Constant
containsConstantExpression() constllvm::Constant
containsPoisonElement() constllvm::Constant
containsUndefElement() constllvm::Constant
containsUndefOrPoisonElement() constllvm::Constant
deleteValue()llvm::Value
destroyConstant()llvm::Constant
DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB) constllvm::Value
DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB)llvm::Valueinline
dropAllReferences()llvm::Userinline
dropDroppableUse(Use &U)llvm::Valuestatic
dropDroppableUses(llvm::function_ref< bool(const Use *)> ShouldDrop=[](const Use *) { return true;})llvm::Value
dropDroppableUsesIn(User &Usr)llvm::Value
dump() constllvm::Value
eraseMetadata(unsigned KindID)llvm::Valueprotected
eraseMetadataIf(function_ref< bool(unsigned, MDNode *)> Pred)llvm::Valueprotected
getAggregateElement(unsigned Elt) constllvm::Constant
getAggregateElement(Constant *Elt) constllvm::Constant
getAllMetadata(SmallVectorImpl< std::pair< unsigned, MDNode * > > &MDs) constllvm::Valueprotected
getAllOnesValue(Type *Ty)llvm::Constantstatic
getContext() constllvm::Value
getDescriptor() constllvm::User
getDescriptor()llvm::User
getIntegerValue(Type *Ty, const APInt &V)llvm::Constantstatic
getMetadata(unsigned KindID) constllvm::Valueinlineprotected
getMetadata(StringRef Kind) constllvm::Valueprotected
getMetadata(unsigned KindID, SmallVectorImpl< MDNode * > &MDs) constllvm::Valueprotected
getMetadata(StringRef Kind, SmallVectorImpl< MDNode * > &MDs) constllvm::Valueprotected
getMetadataImpl(unsigned KindID) constllvm::Valueprotected
getName() constllvm::Value
getNameOrAsOperand() constllvm::Value
getNullValue(Type *Ty)llvm::Constantstatic
getNumOperands() constllvm::Userinline
getNumUses() constllvm::Value
getOperand(unsigned i) constllvm::Userinline
getOperandList() constllvm::Userinline
getOperandList()llvm::Userinline
getOperandUse(unsigned i) constllvm::Userinline
getOperandUse(unsigned i)llvm::Userinline
getPointerAlignment(const DataLayout &DL) constllvm::Value
getPointerDereferenceableBytes(const DataLayout &DL, bool &CanBeNull, bool &CanBeFreed) constllvm::Value
getPointerOffsetFrom(const Value *Other, const DataLayout &DL) constllvm::Value
getRawSubclassOptionalData() constllvm::Valueinline
getSingleUndroppableUse()llvm::Value
getSingleUndroppableUse() constllvm::Valueinline
getSplatValue(bool AllowPoison=false) constllvm::Constant
getSubclassDataFromValue() constllvm::Valueinlineprotected
getType() constllvm::Valueinline
getUniqueInteger() constllvm::Constant
getUniqueUndroppableUser()llvm::Value
getUniqueUndroppableUser() constllvm::Valueinline
getValueID() constllvm::Valueinline
getValueName() constllvm::Value
growHungoffUses(unsigned N, bool IsPhi=false)llvm::Userprotected
handleOperandChange(Value *, Value *)llvm::Constant
HasDescriptorllvm::Valueprotected
hasExactInverseFP() constllvm::Constant
HasHungOffUsesllvm::Valueprotected
hasMetadata() constllvm::Valueinlineprotected
hasMetadata(unsigned KindID) constllvm::Valueinlineprotected
hasMetadata(StringRef Kind) constllvm::Valueinlineprotected
HasMetadatallvm::Valueprotected
HasNamellvm::Valueprotected
hasName() constllvm::Valueinline
hasNUndroppableUses(unsigned N) constllvm::Value
hasNUndroppableUsesOrMore(unsigned N) constllvm::Value
hasNUses(unsigned N) constllvm::Value
hasNUsesOrMore(unsigned N) constllvm::Value
hasOneLiveUse() constllvm::Constant
hasOneUse() constllvm::Valueinline
hasOneUser() constllvm::Value
hasSameSubclassOptionalData(const Value *V) constllvm::Valueinline
hasValueHandle() constllvm::Valueinline
hasZeroLiveUses() constllvm::Constant
isAllOnesValue() constllvm::Constant
isConstantUsed() constllvm::Constant
isDLLImportDependent() constllvm::Constant
isDroppable() constllvm::User
isElementWiseEqual(Value *Y) constllvm::Constant
isFiniteNonZeroFP() constllvm::Constant
isManifestConstant() constllvm::Constant
isMinSignedValue() constllvm::Constant
isNaN() constllvm::Constant
isNegativeZeroValue() constllvm::Constant
isNormalFP() constllvm::Constant
isNotMinSignedValue() constllvm::Constant
isNotOneValue() constllvm::Constant
isNullValue() constllvm::Constant
isOneValue() constllvm::Constant
isSwiftError() constllvm::Value
isThreadDependent() constllvm::Constant
IsUsedByMDllvm::Valueprotected
isUsedByMetadata() constllvm::Valueinline
isUsedInBasicBlock(const BasicBlock *BB) constllvm::Value
isZeroValue() constllvm::Constant
materialized_use_begin()llvm::Valueinline
materialized_use_begin() constllvm::Valueinline
materialized_use_empty() constllvm::Valueinline
materialized_user_begin()llvm::Valueinline
materialized_user_begin() constllvm::Valueinline
materialized_users()llvm::Valueinline
materialized_users() constllvm::Valueinline
materialized_uses()llvm::Valueinline
materialized_uses() constllvm::Valueinline
MaxAlignmentExponentllvm::Valuestatic
MaximumAlignmentllvm::Valuestatic
mergeUndefsWith(Constant *C, Constant *Other)llvm::Constantstatic
mutateType(Type *Ty)llvm::Valueinline
needsDynamicRelocation() constllvm::Constant
needsRelocation() constllvm::Constant
NumUserOperandsllvm::Valueprotected
NumUserOperandsBits enum valuellvm::Valueprotected
Op()llvm::Userinlineprotected
Op() constllvm::Userinlineprotected
op_begin()llvm::Userinline
op_begin() constllvm::Userinline
op_end()llvm::Userinline
op_end() constllvm::Userinline
op_iterator typedefllvm::User
op_range typedefllvm::User
operand_values()llvm::Userinline
operand_values() constllvm::Userinline
operands()llvm::Userinline
operands() constllvm::Userinline
operator delete(void *Usr)llvm::User
operator delete(void *Usr, unsigned)llvm::Userinline
operator delete(void *Usr, unsigned, unsigned)llvm::Userinline
operator new(size_t Size)llvm::Userprotected
operator new(size_t Size, unsigned Us)llvm::Userprotected
operator new(size_t Size, unsigned Us, unsigned DescBytes)llvm::Userprotected
operator=(const Constant &)=deletellvm::Constant
llvm::User::operator=(const Value &)=deletellvm::Value
OpFrom(const U *that)llvm::Userinlineprotectedstatic
print(raw_ostream &O, bool IsForDebug=false) constllvm::Value
print(raw_ostream &O, ModuleSlotTracker &MST, bool IsForDebug=false) constllvm::Value
printAsOperand(raw_ostream &O, bool PrintType=true, const Module *M=nullptr) constllvm::Value
printAsOperand(raw_ostream &O, bool PrintType, ModuleSlotTracker &MST) constllvm::Value
removeDeadConstantUsers() constllvm::Constant
replaceAllUsesWith(Value *V)llvm::Value
replaceNonMetadataUsesWith(Value *V)llvm::Value
replaceUndefsWith(Constant *C, Constant *Replacement)llvm::Constantstatic
replaceUsesOfWith(Value *From, Value *To)llvm::User
replaceUsesOutsideBlock(Value *V, BasicBlock *BB)llvm::Value
replaceUsesWithIf(Value *New, llvm::function_ref< bool(Use &U)> ShouldReplace)llvm::Value
reverseUseList()llvm::Value
setGlobalVariableNumOperands(unsigned NumOps)llvm::Userinline
setMetadata(unsigned KindID, MDNode *Node)llvm::Valueprotected
setMetadata(StringRef Kind, MDNode *Node)llvm::Valueprotected
setName(const Twine &Name)llvm::Value
setNumHungOffUseOperands(unsigned NumOps)llvm::Userinline
setOperand(unsigned i, Value *Val)llvm::Userinline
setValueName(ValueName *VN)llvm::Value
setValueSubclassData(unsigned short D)llvm::Valueinlineprotected
sortUseList(Compare Cmp)llvm::Value
stripAndAccumulateConstantOffsets(const DataLayout &DL, APInt &Offset, bool AllowNonInbounds, bool AllowInvariantGroup=false, function_ref< bool(Value &Value, APInt &Offset)> ExternalAnalysis=nullptr) constllvm::Value
stripAndAccumulateConstantOffsets(const DataLayout &DL, APInt &Offset, bool AllowNonInbounds, bool AllowInvariantGroup=false)llvm::Valueinline
stripAndAccumulateInBoundsConstantOffsets(const DataLayout &DL, APInt &Offset) constllvm::Valueinline
stripAndAccumulateInBoundsConstantOffsets(const DataLayout &DL, APInt &Offset)llvm::Valueinline
stripInBoundsConstantOffsets() constllvm::Value
stripInBoundsConstantOffsets()llvm::Valueinline
stripInBoundsOffsets(function_ref< void(const Value *)> Func=[](const Value *) {}) constllvm::Value
stripInBoundsOffsets(function_ref< void(const Value *)> Func=[](const Value *) {})llvm::Valueinline
stripPointerCasts() constllvm::Constantinline
stripPointerCasts()llvm::Constantinline
stripPointerCastsAndAliases() constllvm::Value
stripPointerCastsAndAliases()llvm::Valueinline
stripPointerCastsForAliasAnalysis() constllvm::Value
stripPointerCastsForAliasAnalysis()llvm::Valueinline
stripPointerCastsSameRepresentation() constllvm::Value
stripPointerCastsSameRepresentation()llvm::Valueinline
SubclassOptionalDatallvm::Valueprotected
takeName(Value *V)llvm::Value
toConstantRange() constllvm::Constant
use_begin()llvm::Valueinline
use_begin() constllvm::Valueinline
use_empty() constllvm::Valueinline
use_end()llvm::Valueinline
use_end() constllvm::Valueinline
use_iterator typedefllvm::Value
User(Type *ty, unsigned vty, Use *, unsigned NumOps)llvm::Userinlineprotected
User(const User &)=deletellvm::User
user_back()llvm::Valueinline
user_back() constllvm::Valueinline
user_begin()llvm::Valueinline
user_begin() constllvm::Valueinline
user_empty() constllvm::Valueinline
user_end()llvm::Valueinline
user_end() constllvm::Valueinline
user_iterator typedefllvm::Value
users()llvm::Valueinline
users() constllvm::Valueinline
uses()llvm::Valueinline
uses() constllvm::Valueinline
Value(Type *Ty, unsigned scid)llvm::Valueprotected
Value(const Value &)=deletellvm::Value
value_op_begin()llvm::Userinline
value_op_begin() constllvm::Userinline
value_op_end()llvm::Userinline
value_op_end() constllvm::Userinline
ValueTy enum namellvm::Value
~Constant()=defaultllvm::Constantprotected
~User()=defaultllvm::Userprotected
~Value()llvm::Valueprotected