|
LLVM
3.7.0
|
#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"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... | |
Functions | |
| INITIALIZE_PASS_BEGIN (SILowerI1Copies, DEBUG_TYPE,"SI Lower i1 Copies", false, false) INITIALIZE_PASS_END(SILowerI1Copies | |
Variables | |
| DEBUG_TYPE | |
| SI Lower i1 | Copies |
| SI Lower i1 | false |
| #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.
| INITIALIZE_PASS_BEGIN | ( | SILowerI1Copies | , |
| DEBUG_TYPE | , | ||
| "SI Lower i1 Copies" | , | ||
| false | , | ||
| false | |||
| ) |
| SI Lower i1 Copies |
Definition at line 61 of file SILowerI1Copies.cpp.
| DEBUG_TYPE |
Definition at line 61 of file SILowerI1Copies.cpp.
| SI Lower i1 false |
Definition at line 61 of file SILowerI1Copies.cpp.
1.8.6