class LoadInst
Declaration
class LoadInst : public UnaryInstruction { /* full declaration omitted */ };
Declared at: llvm/include/llvm/IR/Instructions.h:169
Inherits from: UnaryInstruction
Member Variables
Inherited from Value:
- protected SubclassOptionalData
- protected NumUserOperands
- protected IsUsedByMD
- protected HasName
- protected HasHungOffUses
- protected HasDescriptor
- public static MaxAlignmentExponent = 29
- public static MaximumAlignment = 1U << MaxAlignmentExponent
Method Overview
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::AtomicOrdering Order, SyncScope::ID SSID, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Value * Ptr, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::AtomicOrdering Order, SyncScope::ID SSID, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::MaybeAlign Align, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::BasicBlock * InsertAtEnd)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, bool isVolatile, llvm::Instruction * InsertBefore = nullptr)
- public LoadInst(llvm::Type * Ty, llvm::Value * Ptr, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
- public static bool classof(const llvm::Value * V)
- public static bool classof(const llvm::Instruction * I)
- protected llvm::LoadInst * cloneImpl() const
- public llvm::MaybeAlign getAlign() const
- public unsigned int getAlignment() const
- public llvm::AtomicOrdering getOrdering() const
- public unsigned int getPointerAddressSpace() const
- public llvm::Value * getPointerOperand()
- public const llvm::Value * getPointerOperand() const
- public static unsigned int getPointerOperandIndex()
- public llvm::Type * getPointerOperandType() const
- public SyncScope::ID getSyncScopeID() const
- public bool isSimple() const
- public bool isUnordered() const
- public bool isVolatile() const
- public void setAlignment(llvm::MaybeAlign Alignment)
- public void setAtomic(llvm::AtomicOrdering Ordering, SyncScope::ID SSID = SyncScope::System)
- public void setOrdering(llvm::AtomicOrdering Ordering)
- public void setSyncScopeID(SyncScope::ID SSID)
- public void setVolatile(bool V)
Inherited from UnaryInstruction:
Inherited from Instruction:
- public andIRFlags
- public applyMergedLocation
- public classof
- public clone
- public copyFastMathFlags
- public copyFastMathFlags
- public copyIRFlags
- public copyMetadata
- public dropPoisonGeneratingFlags
- public dropUnknownNonDebugMetadata
- public dropUnknownNonDebugMetadata
- public dropUnknownNonDebugMetadata
- public dropUnknownNonDebugMetadata
- public eraseFromParent
- public extractProfMetadata
- public extractProfTotalWeight
- public getAAMetadata
- public getAllMetadata
- public getAllMetadataOtherThanDebugLoc
- public getDebugLoc
- public getFastMathFlags
- public getFunction
- public getFunction
- public getMetadata
- public getMetadata
- public getModule
- public getModule
- public getNextNonDebugInstruction
- public getNextNonDebugInstruction
- public getNumSuccessors
- public getOpcode
- public getOpcodeName
- public getOpcodeName
- public getParent
- public getParent
- public getPrevNonDebugInstruction
- public getPrevNonDebugInstruction
- protected getSubclassDataFromInstruction
- public getSuccessor
- public hasAllowContract
- public hasAllowReassoc
- public hasAllowReciprocal
- public hasApproxFunc
- public hasAtomicLoad
- public hasAtomicStore
- public hasMetadata
- public hasMetadata
- public hasMetadata
- public hasMetadataOtherThanDebugLoc
- public hasNoInfs
- public hasNoNaNs
- public hasNoSignedWrap
- public hasNoSignedZeros
- public hasNoUnsignedWrap
- public insertAfter
- public insertBefore
- public isArithmeticShift
- public isAssociative
- public isAssociative
- public isAtomic
- public isBinaryOp
- public isBinaryOp
- public isBitwiseLogicOp
- public isBitwiseLogicOp
- public isCast
- public isCast
- public isCommutative
- public isCommutative
- public isEHPad
- public isExact
- public isExceptionalTerminator
- public isExceptionalTerminator
- public isFast
- public isFenceLike
- public isFuncletPad
- public isFuncletPad
- public isIdempotent
- public isIdempotent
- public isIdenticalTo
- public isIdenticalToWhenDefined
- public isIndirectTerminator
- public isIndirectTerminator
- public isIntDivRem
- public isIntDivRem
- public isLifetimeStartOrEnd
- public isLogicalShift
- public isNilpotent
- public isNilpotent
- public isSafeToRemove
- public isSameOperationAs
- public isShift
- public isShift
- public isTerminator
- public isTerminator
- public isUnaryOp
- public isUnaryOp
- public isUsedOutsideOfBlock
- public mayHaveSideEffects
- public mayReadFromMemory
- public mayReadOrWriteMemory
- public mayThrow
- public mayWriteToMemory
- public moveAfter
- public moveBefore
- public moveBefore
- public removeFromParent
- public replaceSuccessorWith
- public setAAMetadata
- public setDebugLoc
- public setFast
- public setFastMathFlags
- public setHasAllowReassoc
- public setHasAllowReciprocal
- public setHasApproxFunc
- public setHasNoInfs
- public setHasNoNaNs
- public setHasNoSignedWrap
- public setHasNoSignedZeros
- public setHasNoUnsignedWrap
- protected setInstructionSubclassData
- public setIsExact
- public setMetadata
- public setMetadata
- public setProfWeight
- public setSuccessor
- public swapProfMetadata
- public user_back
- public user_back
Inherited from User:
- protected Op
- protected Op
- protected OpFrom
- protected allocHungoffUses
- public classof
- public dropAllReferences
- public getDescriptor
- public getDescriptor
- public getNumOperands
- public getOperand
- public getOperandList
- public getOperandList
- public getOperandUse
- public getOperandUse
- protected growHungoffUses
- public op_begin
- public op_begin
- public op_end
- public op_end
- public operand_values
- public operand_values
- public operands
- public operands
- public replaceUsesOfWith
- public setGlobalVariableNumOperands
- public setNumHungOffUseOperands
- public setOperand
- public value_op_begin
- public value_op_begin
- public value_op_end
- public value_op_end
Inherited from Value:
- public DoPHITranslation
- public DoPHITranslation
- public addUse
- public assertModuleIsMaterialized
- public assertModuleIsMaterializedImpl
- public clearSubclassOptionalData
- public deleteValue
- public dump
- public getContext
- public getName
- public getNumUses
- public getPointerAlignment
- public getPointerDereferenceableBytes
- public getRawSubclassOptionalData
- protected getSubclassDataFromValue
- public getType
- public getValueID
- public getValueName
- public hasNUses
- public hasNUsesOrMore
- public hasName
- public hasOneUse
- public hasSameSubclassOptionalData
- public hasValueHandle
- public isSwiftError
- public isUsedByMetadata
- public isUsedInBasicBlock
- public materialized_use_begin
- public materialized_use_begin
- public materialized_use_empty
- public materialized_user_begin
- public materialized_user_begin
- public materialized_users
- public materialized_users
- public materialized_uses
- public materialized_uses
- public mutateType
- public print
- public print
- public printAsOperand
- public printAsOperand
- public replaceAllUsesWith
- public replaceNonMetadataUsesWith
- public replaceUsesOutsideBlock
- public replaceUsesWithIf
- public reverseUseList
- public setName
- public setValueName
- protected setValueSubclassData
- public sortUseList
- public stripAndAccumulateConstantOffsets
- public stripAndAccumulateConstantOffsets
- public stripAndAccumulateInBoundsConstantOffsets
- public stripAndAccumulateInBoundsConstantOffsets
- public stripInBoundsConstantOffsets
- public stripInBoundsConstantOffsets
- public stripInBoundsOffsets
- public stripInBoundsOffsets
- public stripPointerCasts
- public stripPointerCasts
- public stripPointerCastsAndAliases
- public stripPointerCastsAndAliases
- public stripPointerCastsAndInvariantGroups
- public stripPointerCastsAndInvariantGroups
- public stripPointerCastsSameRepresentation
- public stripPointerCastsSameRepresentation
- public takeName
- public use_begin
- public use_begin
- public use_empty
- public use_end
- public use_end
- public user_back
- public user_back
- public user_begin
- public user_begin
- public user_empty
- public user_end
- public user_end
- public users
- public users
- public uses
- public uses
Methods
¶LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr = "",
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr = "",
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:179
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr = ""
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:227
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::AtomicOrdering Order
- SyncScope::ID SSID
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID = SyncScope::System,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID = SyncScope::System,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:222
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::AtomicOrdering Order
- SyncScope::ID SSID = SyncScope::System
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:218
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:214
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:210
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:206
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Value* Ptr,
const llvm::Twine& NameStr,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:203
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr = "",
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Value* Ptr,
const llvm::Twine& NameStr = "",
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:199
Parameters
- llvm::Value* Ptr
- const llvm::Twine& NameStr = ""
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:194
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::AtomicOrdering Order
- SyncScope::ID SSID
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID = SyncScope::System,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::AtomicOrdering Order,
SyncScope::ID SSID = SyncScope::System,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:190
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::AtomicOrdering Order
- SyncScope::ID SSID = SyncScope::System
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:188
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::MaybeAlign Align,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:186
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::MaybeAlign Align
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:184
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::BasicBlock* InsertAtEnd
¶LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::Instruction* InsertBefore = nullptr)
LoadInst(
llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
bool isVolatile,
llvm::Instruction* InsertBefore = nullptr)
Declared at: llvm/include/llvm/IR/Instructions.h:182
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- bool isVolatile
- llvm::Instruction* InsertBefore = nullptr
¶LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
llvm::BasicBlock* InsertAtEnd)
LoadInst(llvm::Type* Ty,
llvm::Value* Ptr,
const llvm::Twine& NameStr,
llvm::BasicBlock* InsertAtEnd)
Declared at: llvm/include/llvm/IR/Instructions.h:181
Parameters
- llvm::Type* Ty
- llvm::Value* Ptr
- const llvm::Twine& NameStr
- llvm::BasicBlock* InsertAtEnd
¶static bool classof(const llvm::Value* V)
static bool classof(const llvm::Value* V)
Declared at: llvm/include/llvm/IR/Instructions.h:309
Parameters
- const llvm::Value* V
¶static bool classof(const llvm::Instruction* I)
static bool classof(const llvm::Instruction* I)
Declared at: llvm/include/llvm/IR/Instructions.h:306
Parameters
- const llvm::Instruction* I
¶llvm::LoadInst* cloneImpl() const
llvm::LoadInst* cloneImpl() const
Declared at: llvm/include/llvm/IR/Instructions.h:176
¶llvm::MaybeAlign getAlign() const
llvm::MaybeAlign getAlign() const
Description
Return the alignment of the access that is being performed.
Declared at: llvm/include/llvm/IR/Instructions.h:251
¶unsigned int getAlignment() const
unsigned int getAlignment() const
Description
Return the alignment of the access that is being performed. FIXME: Remove this function once transition to Align is over. Use getAlign() instead.
Declared at: llvm/include/llvm/IR/Instructions.h:244
¶llvm::AtomicOrdering getOrdering() const
llvm::AtomicOrdering getOrdering() const
Description
Returns the ordering constraint of this load instruction.
Declared at: llvm/include/llvm/IR/Instructions.h:258
¶unsigned int getPointerAddressSpace() const
unsigned int getPointerAddressSpace() const
Description
Returns the address space of the pointer operand.
Declared at: llvm/include/llvm/IR/Instructions.h:301
¶llvm::Value* getPointerOperand()
llvm::Value* getPointerOperand()
Declared at: llvm/include/llvm/IR/Instructions.h:295
¶const llvm::Value* getPointerOperand() const
const llvm::Value* getPointerOperand() const
Declared at: llvm/include/llvm/IR/Instructions.h:296
¶static unsigned int getPointerOperandIndex()
static unsigned int getPointerOperandIndex()
Declared at: llvm/include/llvm/IR/Instructions.h:297
¶llvm::Type* getPointerOperandType() const
llvm::Type* getPointerOperandType() const
Declared at: llvm/include/llvm/IR/Instructions.h:298
¶SyncScope::ID getSyncScopeID() const
SyncScope::ID getSyncScopeID() const
Description
Returns the synchronization scope ID of this load instruction.
Declared at: llvm/include/llvm/IR/Instructions.h:270
¶bool isSimple() const
bool isSimple() const
Declared at: llvm/include/llvm/IR/Instructions.h:287
¶bool isUnordered() const
bool isUnordered() const
Declared at: llvm/include/llvm/IR/Instructions.h:289
¶bool isVolatile() const
bool isVolatile() const
Description
Return true if this is a load from a volatile memory location.
Declared at: llvm/include/llvm/IR/Instructions.h:233
¶void setAlignment(llvm::MaybeAlign Alignment)
void setAlignment(llvm::MaybeAlign Alignment)
Declared at: llvm/include/llvm/IR/Instructions.h:255
Parameters
- llvm::MaybeAlign Alignment
¶void setAtomic(
llvm::AtomicOrdering Ordering,
SyncScope::ID SSID = SyncScope::System)
void setAtomic(
llvm::AtomicOrdering Ordering,
SyncScope::ID SSID = SyncScope::System)
Description
Sets the ordering constraint and the synchronization scope ID of this load instruction.
Declared at: llvm/include/llvm/IR/Instructions.h:281
Parameters
- llvm::AtomicOrdering Ordering
- SyncScope::ID SSID = SyncScope::System
¶void setOrdering(llvm::AtomicOrdering Ordering)
void setOrdering(llvm::AtomicOrdering Ordering)
Description
Sets the ordering constraint of this load instruction. May not be Release or AcquireRelease.
Declared at: llvm/include/llvm/IR/Instructions.h:264
Parameters
- llvm::AtomicOrdering Ordering
¶void setSyncScopeID(SyncScope::ID SSID)
void setSyncScopeID(SyncScope::ID SSID)
Description
Sets the synchronization scope ID of this load instruction.
Declared at: llvm/include/llvm/IR/Instructions.h:275
Parameters
- SyncScope::ID SSID
¶void setVolatile(bool V)
void setVolatile(bool V)
Description
Specify whether this is a volatile load or not.
Declared at: llvm/include/llvm/IR/Instructions.h:236
Parameters
- bool V