LLVM 22.0.0git
|
#include "llvm/SandboxIR/Constant.h"
Static Public Member Functions | |
static LLVM_ABI NoCFIValue * | get (GlobalValue *GV) |
Return a NoCFIValue for the specified function. | |
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 1321 of file Constant.h.
|
inlinestatic |
For isa/dyn_cast.
Definition at line 1339 of file Constant.h.
References llvm::sandboxir::Value::getSubclassID().
|
inlineoverridevirtual |
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1351 of file Constant.h.
References llvm::sandboxir::Value::dumpCommonPrefix(), and llvm::sandboxir::Value::dumpCommonSuffix().
|
static |
Return a NoCFIValue for the specified function.
Definition at line 400 of file Constant.cpp.
References llvm::cast(), llvm::NoCFIValue::get(), llvm::sandboxir::Value::getContext(), llvm::sandboxir::Context::getOrCreateConstant(), and llvm::sandboxir::Value::Val.
GlobalValue * llvm::sandboxir::NoCFIValue::getGlobalValue | ( | ) | const |
Definition at line 405 of file Constant.cpp.
References llvm::cast(), llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
PointerType * llvm::sandboxir::NoCFIValue::getType | ( | ) | const |
NoCFIValue is always a pointer.
Definition at line 410 of file Constant.cpp.
References llvm::cast(), llvm::sandboxir::Value::Ctx, and llvm::sandboxir::Value::Val.
\Returns the operand index of Use
.
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1343 of file Constant.h.
References llvm::sandboxir::User::getUseOperandNoDefault().
|
inlineoverridevirtual |
Should crash if there is something wrong with the instruction.
Reimplemented from llvm::sandboxir::Constant.
Definition at line 1348 of file Constant.h.
References assert(), llvm::isa(), and llvm::sandboxir::Value::Val.
|
friend |