class IntrinsicLowering

Declaration

class IntrinsicLowering { /* full declaration omitted */ };

Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:22

Member Variables

private const llvm::DataLayout& DL
private bool Warned = false

Method Overview

Methods

IntrinsicLowering(const llvm::DataLayout& DL)

Declared at: llvm/include/llvm/CodeGen/IntrinsicLowering.h:28

Parameters

const llvm::DataLayout& DL

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:38

Parameters

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:42

Parameters

llvm::CallInst* CI