LLVM 22.0.0git
|
#include "llvm/SandboxIR/Constant.h"
Static Public Member Functions | |
static LLVM_ABI DSOLocalEquivalent * | get (GlobalValue *GV) |
Return a DSOLocalEquivalent for the specified global value. | |
static bool | classof (const sandboxir::Value *From) |
For isa/dyn_cast. | |
Static Public Member Functions inherited from llvm::sandboxir::Constant | |
static bool | classof (const sandboxir::Value *From) |
For isa/dyn_cast. | |
Static Public Member Functions inherited from llvm::sandboxir::User | |
static bool | classof (const Value *From) |
For isa/dyn_cast. |
Friends | |
class | Context |
Definition at line 1454 of file Constant.h.
|
inlinestatic |
For isa/dyn_cast.
Definition at line 1466 of file Constant.h.
References llvm::sandboxir::Value::getSubclassID().
|
inlineoverridevirtual |
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1479 of file Constant.h.
References llvm::sandboxir::Value::dumpCommonPrefix(), and llvm::sandboxir::Value::dumpCommonSuffix().
|
static |
Return a DSOLocalEquivalent for the specified global value.
Definition at line 474 of file Constant.cpp.
References llvm::cast(), llvm::DSOLocalEquivalent::get(), llvm::sandboxir::Value::getContext(), llvm::sandboxir::Context::getValue(), and llvm::sandboxir::Value::Val.
GlobalValue * llvm::sandboxir::DSOLocalEquivalent::getGlobalValue | ( | ) | const |
Definition at line 479 of file Constant.cpp.
References llvm::cast(), llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
|
inlinefinalvirtual |
\Returns the operand index of Use
.
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1470 of file Constant.h.
References llvm_unreachable.
|
inlineoverridevirtual |
Should crash if there is something wrong with the instruction.
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1475 of file Constant.h.
References assert(), llvm::isa(), and llvm::sandboxir::Value::Val.
|
friend |
Definition at line 1457 of file Constant.h.
References Context, and LLVM_ABI.
Referenced by Context.