Go to the documentation of this file.
24 class AVRTargetMachine;
54 auto *PT = cast<PointerType>(V->getType());
55 assert(PT !=
nullptr &&
"unexpected MemSDNode");
65 auto *PT = cast<PointerType>(V->getType());
66 assert(PT !=
nullptr &&
"unexpected MemSDNode");
67 unsigned AS = PT->getAddressSpace();
74 auto *V =
N->getMemOperand()->getValue();
85 auto *V =
N->getMemOperand()->getValue();
This is an optimization pass for GlobalISel generic memory operations.
print lazy value Lazy Value Info Printer Pass
FunctionPass * createAVRBranchSelectionPass()
This is an abstract virtual class for memory operations.
AddressSpace getAddressSpace(T *V)
void initializeAVRExpandPseudoPass(PassRegistry &)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool isProgramMemoryAddress(T *V)
Checks if a given type is a pointer to program memory.
void initializeAVRShiftExpandPass(PassRegistry &)
FunctionPass * createAVRISelDag(AVRTargetMachine &TM, CodeGenOpt::Level OptLevel)
int getProgramMemoryBank(MemSDNode const *N)
AddressSpace
An integer that identifies all of the supported AVR address spaces.
FunctionPass * createAVRFrameAnalyzerPass()
Creates instance of the frame analyzer pass.
const char LLVMTargetMachineRef TM
Pass * createAVRShiftExpandPass()
FunctionPass * createAVRExpandPseudoPass()
bool isProgramMemoryAccess(MemSDNode const *N)