llvm-6502/include/llvm/Target
Evan Cheng cc41586b9d Much improved pic jumptable codegen:
Then:
        call    "L1$pb"
"L1$pb":
        popl    %eax
		...
LBB1_1: # entry
        imull   $4, %ecx, %ecx
        leal    LJTI1_0-"L1$pb"(%eax), %edx
        addl    LJTI1_0-"L1$pb"(%ecx,%eax), %edx
        jmpl    *%edx

        .align  2
        .set L1_0_set_3,LBB1_3-LJTI1_0
        .set L1_0_set_2,LBB1_2-LJTI1_0
        .set L1_0_set_5,LBB1_5-LJTI1_0
        .set L1_0_set_4,LBB1_4-LJTI1_0
LJTI1_0:
        .long    L1_0_set_3
        .long    L1_0_set_2

Now:
        call    "L1$pb"
"L1$pb":
        popl    %eax
		...
LBB1_1: # entry
        addl    LJTI1_0-"L1$pb"(%eax,%ecx,4), %eax
        jmpl    *%eax

		.align  2
		.set L1_0_set_3,LBB1_3-"L1$pb"
		.set L1_0_set_2,LBB1_2-"L1$pb"
		.set L1_0_set_5,LBB1_5-"L1$pb"
		.set L1_0_set_4,LBB1_4-"L1$pb"
LJTI1_0:
        .long    L1_0_set_3
        .long    L1_0_set_2


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43924 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-09 01:32:10 +00:00
..
MRegisterInfo.h isSubRegOf() is a dup of isSubRegister. 2007-10-23 06:51:50 +00:00
SubtargetFeature.h
TargetAsmInfo.h
TargetData.h Eliminate the remaining uses of getTypeSize. This 2007-11-05 00:04:43 +00:00
TargetELFWriterInfo.h
TargetFrameInfo.h
TargetInstrInfo.h
TargetInstrItineraries.h
TargetJITInfo.h
TargetLowering.h Much improved pic jumptable codegen: 2007-11-09 01:32:10 +00:00
TargetMachine.h
TargetMachineRegistry.h Missing 'public' keyword. 2007-10-18 11:31:21 +00:00
TargetMachOWriterInfo.h
TargetOptions.h Corrected many typing errors. And removed 'nest' parameter handling 2007-10-12 21:30:57 +00:00
TargetSubtarget.h Move the LowerMEMCPY and LowerMEMCPYCall to a common place. 2007-11-05 23:12:20 +00:00