LLVM  6.0.0svn
Macros
SILowerI1Copies.cpp File Reference
#include "AMDGPU.h"
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LLVMContext.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.

Macros

#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. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#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.