llvm.org GIT mirror llvm / 7d12b4b
last validation errors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59072 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
741741
742742
743743
744 Implement a subclass of
745 href="http://www.llvm.org/docs/CodeGenerator.html#targetregisterinfo">TargetRegisterInfo
744 name="implementRegister">Implement a subclass of
745 TargetRegisterInfo
746746
747747
748748

The final step is to hand code portions of XXXRegisterInfo, which

997997
998998
999999
1000 Implement a subclass of
1001 href="http://www.llvm.org/docs/CodeGenerator.html#targetinstrinfo">TargetInstrInfo
1000 name="implementInstr">Implement a subclass of
1001 TargetInstrInfo
10021002
10031003
10041004
13381338

You should examine the node types in the ISD namespace

13391339 (include/llvm/CodeGen/SelectionDAGNodes.h)
13401340 and determine which operations the target natively supports. For operations
1341 that do <u>not> have native support, add a callback to the constructor for
1341 that do <b>not> have native support, add a callback to the constructor for
13421342 the XXXTargetLowering class, so the instruction selection process knows what to
13431343 do. The TargetLowering class callback methods (declared in
13441344 llvm/Target/TargetLowering.h) are:

14641464
14651465
14661466

The Legal LegalizeAction enum value simply indicates that an

1467 operation <u>is> natively supported. Legal represents the default condition,
1467 operation <b>is> natively supported. Legal represents the default condition,
14681468 so it is rarely used. In SparcISelLowering.cpp, the action for CTPOP (an
14691469 operation to count the bits set in an integer) is natively supported only for
14701470 SPARC v9. The following code enables the Expand conversion technique for non-v9
20662066
20672067 src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!">
20682068
2069 src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" />
2069 src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!">
20702070
20712071 Mason Woo and Misha Brukman
20722072 The LLVM Compiler Infrastructure