class IntrinsicLowering
Declaration
class IntrinsicLowering { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:25
Method Overview
- public IntrinsicLowering(const llvm::DataLayout & DL)
- public void LowerIntrinsicCall(llvm::CallInst * CI)
- public static bool LowerToByteSwap(llvm::CallInst * CI)
Methods
¶IntrinsicLowering(const llvm::DataLayout& DL)
IntrinsicLowering(const llvm::DataLayout& DL)
Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:31
Parameters
- const llvm::DataLayout& DL
¶void LowerIntrinsicCall(llvm::CallInst* CI)
void LowerIntrinsicCall(llvm::CallInst* CI)
Description
Replace a call to the specified intrinsic function. If an intrinsic function must be implemented by the code generator (such as va_start), this function should print a message and abort. Otherwise, if an intrinsic function call can be lowered, the code to implement it (often a call to a non-intrinsic function) is inserted _after_ the call instruction and the call is deleted. The caller must be capable of handling this kind of change.
Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:41
Parameters
- llvm::CallInst* CI
¶static bool LowerToByteSwap(llvm::CallInst* CI)
static bool LowerToByteSwap(llvm::CallInst* CI)
Description
Try to replace a call instruction with a call to a bswap intrinsic. Return false if the call is not a simple integer bswap.
Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:45
Parameters
- llvm::CallInst* CI