LLVM API Documentation

Defines | Functions | Variables
SILowerI1Copies.cpp File Reference
#include "AMDGPU.h"
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for SILowerI1Copies.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "si-i1-copies"

Functions

 INITIALIZE_PASS_BEGIN (SILowerI1Copies, DEBUG_TYPE,"SI Lower il Copies", false, false) INITIALIZE_PASS_END(SILowerI1Copies

Variables

 DEBUG_TYPE
SI Lower il Copies
SI Lower il false

Define Documentation

#define DEBUG_TYPE   "si-i1-copies"

i1 values are usually inserted by the CFG Structurize pass and they are unique in that they can be copied from VALU to SALU registers. This is not possible for any other value type. Since there are no MOV instructions for i1, we to use V_CMP_* and V_CNDMASK to move the i1.

Definition at line 16 of file SILowerI1Copies.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( SILowerI1Copies  ,
DEBUG_TYPE  ,
"SI Lower il Copies ,
false  ,
false   
)

Variable Documentation

SI Lower il Copies

Definition at line 61 of file SILowerI1Copies.cpp.

Definition at line 61 of file SILowerI1Copies.cpp.

SI Lower il false

Definition at line 61 of file SILowerI1Copies.cpp.