llvm.org GIT mirror llvm / 66d21bb
Add a set of comments explaining why getSubtargetImpl() is deleted on these targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307999 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 3 years ago
4 changed file(s) with 8 addition(s) and 0 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.
3840 const AArch64Subtarget *getSubtargetImpl() const = delete;
3941
4042 // 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.
4951 const ARMSubtarget *getSubtargetImpl() const = delete;
5052 bool isLittleEndian() const { return isLittle; }
5153
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.
4345 const PPCSubtarget *getSubtargetImpl() const = delete;
4446
4547 // 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.
4244 const X86Subtarget *getSubtargetImpl() const = delete;
4345
4446 TargetIRAnalysis getTargetIRAnalysis() override;