llvm::sandboxir::TruncInst

SandboxIR wrapper for an LLVM trunc instruction.

Synopsis

Declared in <llvm/SandboxIR/Instruction.h>

class TruncInst final
    : public CastInstImpl<Instruction::Opcode::Trunc>

Base Classes

NameDescription
CastInstImpl<Instruction::Opcode::Trunc>CRTP helper implementing concrete SandboxIR cast instructions.

Static Member Functions

NameDescription
classof For isa/dyn_cast.
create Create and insert a cast of opcode Op.

Non-Member Functions

NameDescription
getLoadStoreAddressSpaceReturn the address space of a load or store pointer.