Lines Matching refs:TargetLowering
124 const TargetLowering *TLI;
720 static bool OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI){ in OptimizeNoopCopyExpression()
737 TargetLowering::TypePromoteInteger) in OptimizeNoopCopyExpression()
740 TargetLowering::TypePromoteInteger) in OptimizeNoopCopyExpression()
888 const TargetLowering &TLI) { in SinkShiftAndTruncate()
972 const TargetLowering &TLI) { in OptimizeExtractBits()
1545 struct ExtAddrMode : public TargetLowering::AddrMode {
2048 const TargetLowering &TLI;
2211 static bool isPromotedInstructionLegal(const TargetLowering &TLI, Value *Val) { in isPromotedInstructionLegal()
2261 SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI);
2278 const TargetLowering &TLI, bool IsSExt);
2285 SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) { in signExtendOperandForOther()
2295 SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) { in zeroExtendOperandForOther()
2307 const TargetLowering &TLI);
2318 const TargetLowering &TLI,
2391 const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) { in getAction()
2426 SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI) { in promoteOperandForTruncAndAnyExt()
2474 SmallVectorImpl<Instruction *> *Truncs, const TargetLowering &TLI, in promoteOperandForOther()
2922 const TargetLowering *TLI = TM.getSubtargetImpl(*F)->getTargetLowering(); in IsOperandAMemoryOperand()
2924 TargetLowering::AsmOperandInfoVector TargetConstraints = in IsOperandAMemoryOperand()
2927 TargetLowering::AsmOperandInfo &OpInfo = TargetConstraints[i]; in IsOperandAMemoryOperand()
2935 (OpInfo.ConstraintType != TargetLowering::C_Memory || in IsOperandAMemoryOperand()
3484 TargetLowering::AsmOperandInfoVector in OptimizeInlineAsmInst()
3488 TargetLowering::AsmOperandInfo &OpInfo = TargetConstraints[i]; in OptimizeInlineAsmInst()
3493 if (OpInfo.ConstraintType == TargetLowering::C_Memory && in OptimizeInlineAsmInst()
3506 static bool hasSameExtUse(Instruction *Inst, const TargetLowering &TLI) { in hasSameExtUse()
3819 TargetLowering::SelectSupportKind SelectKind; in OptimizeSelectInst()
3821 SelectKind = TargetLowering::VectorMaskSelect; in OptimizeSelectInst()
3823 SelectKind = TargetLowering::ScalarCondVectorVal; in OptimizeSelectInst()
3825 SelectKind = TargetLowering::ScalarValSelect; in OptimizeSelectInst()
3953 const TargetLowering &TLI;
4120 VectorPromoteHelper(const TargetLowering &TLI, const TargetTransformInfo &TTI, in VectorPromoteHelper()
4330 TargetLowering::TypeExpandInteger) { in OptimizeInst()