LLVM: llvm::sandboxir::ConstantStruct Class Reference (original) (raw)
#include "[llvm/SandboxIR/Constant.h](SandboxIR%5F2Constant%5F8h%5Fsource.html)"
| Static Public Member Functions | |
|---|---|
| static LLVM_ABI Constant * | get (StructType *T, ArrayRef< Constant * > V) |
| template<typename... Csts> | |
| static std::enable_if_t< are_base_of< Constant, Csts... >::value, Constant * > | get (StructType *T, Csts *...Vs) |
| static Constant * | getAnon (ArrayRef< Constant * > V, bool Packed=false) |
| Return an anonymous struct that has the specified elements. | |
| static Constant * | getAnon (Context &Ctx, ArrayRef< Constant * > V, bool Packed=false) |
| static LLVM_ABI StructType * | getTypeForElements (Context &Ctx, ArrayRef< Constant * > V, bool Packed=false) |
| This version of the method allows an empty list. | |
| static StructType * | getTypeForElements (ArrayRef< Constant * > V, bool Packed=false) |
| Return an anonymous struct type to use for a constant with the specified set of elements. | |
| static bool | classof (const Value *From) |
| For isa/dyn_cast. | |
| Static Public Member Functions inherited from llvm::sandboxir::ConstantAggregate | |
| 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. |
Definition at line 378 of file Constant.h.
◆ classof()
| bool llvm::sandboxir::ConstantStruct::classof ( const Value * From) | inlinestatic |
|---|
◆ get() [1/2]
◆ get() [2/2]
template<typename... Csts>
◆ getAnon() [1/2]
Return an anonymous struct that has the specified elements.
If the struct is possibly empty, then you must specify a context.
Definition at line 393 of file Constant.h.
References get(), and getTypeForElements().
◆ getAnon() [2/2]
◆ getType()
| StructType * llvm::sandboxir::ConstantStruct::getType ( ) const | inline |
|---|
◆ getTypeForElements() [1/2]
◆ getTypeForElements() [2/2]
◆ Context
The documentation for this class was generated from the following files:
- include/llvm/SandboxIR/Constant.h
- lib/SandboxIR/Constant.cpp