Lines Matching defs:CSKYConstantIslands
71 /// CSKYConstantIslands - Due to limited PC-relative displacements, CSKY
83 class CSKYConstantIslands : public MachineFunctionPass {
213 CSKYConstantIslands() : MachineFunctionPass(ID) {}
262 char CSKYConstantIslands::ID = 0;
264 bool CSKYConstantIslands::isOffsetInRange(unsigned UserOffset,
272 LLVM_DUMP_METHOD void CSKYConstantIslands::dumpBBs() {
281 bool CSKYConstantIslands::runOnMachineFunction(MachineFunction &Mf) {
286 LLVM_DEBUG(dbgs() << "***** CSKYConstantIslands: "
362 void CSKYConstantIslands::doInitialPlacement(
445 CSKYConstantIslands::CPEntry *
446 CSKYConstantIslands::findConstPoolEntry(unsigned CPI,
460 Align CSKYConstantIslands::getCPEAlign(const MachineInstr &CPEMI) {
471 void CSKYConstantIslands::initializeFunctionInfo(
577 void CSKYConstantIslands::computeBlockSize(MachineBasicBlock *MBB) {
588 unsigned CSKYConstantIslands::getOffsetOf(MachineInstr *MI) const {
614 void CSKYConstantIslands::updateForInsertedWaterBlock(
629 unsigned CSKYConstantIslands::getUserOffset(CPUser &U) const {
641 CSKYConstantIslands::splitBlockBeforeInstr(MachineInstr &MI) {
709 bool CSKYConstantIslands::isOffsetInRange(unsigned UserOffset,
727 bool CSKYConstantIslands::isWaterInRange(unsigned UserOffset,
767 bool CSKYConstantIslands::isCPEntryInRange(MachineInstr *MI,
806 void CSKYConstantIslands::adjustBBOffsetsAfter(MachineBasicBlock *BB) {
820 bool CSKYConstantIslands::decrementCPEReferenceCount(unsigned CPI,
840 int CSKYConstantIslands::findInRangeCPEntry(CPUser &U, unsigned UserOffset) {
913 bool CSKYConstantIslands::findAvailableWater(CPUser &U, unsigned UserOffset,
958 void CSKYConstantIslands::createNewWater(unsigned CPUserIndex,
1058 bool CSKYConstantIslands::handleConstantPoolUser(unsigned CPUserIndex) {
1162 void CSKYConstantIslands::removeDeadCPEMI(MachineInstr *CPEMI) {
1188 bool CSKYConstantIslands::removeUnusedCPEntries() {
1205 bool CSKYConstantIslands::isBBInRange(MachineInstr *MI,
1230 bool CSKYConstantIslands::fixupImmediateBr(ImmBranch &Br) {
1247 bool CSKYConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
1269 bool CSKYConstantIslands::fixupConditionalBr(ImmBranch &Br) {
1361 return new CSKYConstantIslands();
1364 INITIALIZE_PASS(CSKYConstantIslands, DEBUG_TYPE,