llvm.org GIT mirror llvm / dd35be2
Update the comments on default subtargets based on feedback. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309041 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 3 years ago
4 changed file(s) with 12 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
3535
3636 ~AArch64TargetMachine() override;
3737 const AArch64Subtarget *getSubtargetImpl(const Function &F) const override;
38 // The no argument getSubtargetImpl, while it exists on some, targets is
39 // deprecated and should not be used.
38 // DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
39 // subtargets are per-function entities based on the target-specific
40 // attributes of each function.
4041 const AArch64Subtarget *getSubtargetImpl() const = delete;
4142
4243 // Pass Pipeline Configuration
4646 ~ARMBaseTargetMachine() override;
4747
4848 const ARMSubtarget *getSubtargetImpl(const Function &F) const override;
49 // The no argument getSubtargetImpl, while it exists on some targets, is
50 // deprecated and should not be used.
49 // DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
50 // subtargets are per-function entities based on the target-specific
51 // attributes of each function.
5152 const ARMSubtarget *getSubtargetImpl() const = delete;
5253 bool isLittleEndian() const { return isLittle; }
5354
4040 ~PPCTargetMachine() override;
4141
4242 const PPCSubtarget *getSubtargetImpl(const Function &F) const override;
43 // The no argument getSubtargetImpl, while it exists on some targets, is
44 // deprecated and should not be used.
43 // DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
44 // subtargets are per-function entities based on the target-specific
45 // attributes of each function.
4546 const PPCSubtarget *getSubtargetImpl() const = delete;
4647
4748 // Pass Pipeline Configuration
3939 ~X86TargetMachine() override;
4040
4141 const X86Subtarget *getSubtargetImpl(const Function &F) const override;
42 // The no argument getSubtargetImpl, while it exists on some targets, is
43 // deprecated and should not be used.
42 // DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
43 // subtargets are per-function entities based on the target-specific
44 // attributes of each function.
4445 const X86Subtarget *getSubtargetImpl() const = delete;
4546
4647 TargetIRAnalysis getTargetIRAnalysis() override;