Home
last modified time | relevance | path

Searched refs:LHSTy (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprComplex.cpp904 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
905 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
906 LHSTy = AT->getValueType(); in EmitCompoundAssignLValue()
933 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
935 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
940 if (LHSTy->isRealFloatingType()) { in EmitCompoundAssignLValue()
941 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy)) in EmitCompoundAssignLValue()
945 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
953 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
955 EmitComplexToComplexCast(Result, OpInfo.Ty, LHSTy, Loc); in EmitCompoundAssignLValue()
[all …]
H A DCGExprScalar.cpp199 QualType LHSTy = *OptionalLHSTy; in CanElideOverflowCheck() local
3069 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
3129 LHSTy); in EmitCompoundAssignLValue()
3699 QualType LHSTy, RHSTy; in EmitFixedPointBinOp() local
3707 LHSTy = CAO->getComputationLHSType(); in EmitFixedPointBinOp()
3710 LHSTy = BinOp->getLHS()->getType(); in EmitFixedPointBinOp()
3712 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
4079 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() local
4191 if (LHSTy.mayBeDynamicClass()) in EmitCompare()
4202 if (LHSTy->isVectorType()) in EmitCompare()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp1442 LHSTy = S.Context.getCorrespondingSignedFixedPointType(LHSTy); in handleFixedPointConversion()
8208 return LHSTy; in checkConditionalPointerCompatibility()
8710 return LHSTy; in CheckConditionalOperands()
8732 if (!checkConditionalNullPointer(*this, RHS, LHSTy)) return LHSTy; in CheckConditionalOperands()
8761 return LHSTy; in CheckConditionalOperands()
8766 return LHSTy; in CheckConditionalOperands()
8794 return LHSTy; in FindCompositeObjCPointerType()
8805 return LHSTy; in FindCompositeObjCPointerType()
8816 return LHSTy; in FindCompositeObjCPointerType()
8828 return LHSTy; in FindCompositeObjCPointerType()
[all …]
H A DSemaChecking.cpp2912 QualType LHSTy = Context.getPointerType(EltTy); in CheckNeonBuiltinFunctionCall() local
2914 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
2917 if (DiagnoseAssignmentResult(ConvTy, Arg->getBeginLoc(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp74 LLT LHSTy = MRI.getType(LHS); in matchICmpRedundantTrunc() local
75 if (!LHSTy.isScalar()) in matchICmpRedundantTrunc()
87 WideTy.getSizeInBits() - LHSTy.getSizeInBits()) in matchICmpRedundantTrunc()
H A DAArch64InstructionSelector.cpp1679 auto LHSTy = MRI.getType(LHS); in tryOptCompareBranchFedByICmp() local
1680 if (!LHSTy.isVector() && LHSTy.getSizeInBits() <= 64) { in tryOptCompareBranchFedByICmp()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIslExprBuilder.cpp504 auto *LHSTy = LHS->getType(); in createOpICmp() local
506 bool IsPtrType = LHSTy->isPointerTy() || RHSTy->isPointerTy(); in createOpICmp()
510 if (LHSTy->isPointerTy()) in createOpICmp()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRISelLowering.h87 MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override { in getScalarShiftAmountTy() argument
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp908 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, const DataLayout &DL, in getShiftAmountTy() argument
910 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
911 if (LHSTy.isVector()) in getShiftAmountTy()
912 return LHSTy; in getShiftAmountTy()
914 LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) : getPointerTy(DL); in getShiftAmountTy()
917 if (ShiftVT.getSizeInBits() < Log2_32_Ceil(LHSTy.getSizeInBits())) in getShiftAmountTy()
919 assert(ShiftVT.getSizeInBits() >= Log2_32_Ceil(LHSTy.getSizeInBits()) && in getShiftAmountTy()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp12764 QualType LHSTy = E->getLHS()->getType(); in EvaluateComparisonBinaryOperator() local
12767 if (LHSTy->isIntegralOrEnumerationType() && in EvaluateComparisonBinaryOperator()
12782 if (LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) { in EvaluateComparisonBinaryOperator()
12805 } else if (LHSTy->isRealFloatingType()) { in EvaluateComparisonBinaryOperator()
12840 if (LHSTy->isRealFloatingType() && in EvaluateComparisonBinaryOperator()
12876 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in EvaluateComparisonBinaryOperator()
12986 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in EvaluateComparisonBinaryOperator()
13014 if (LHSTy->isMemberPointerType()) { in EvaluateComparisonBinaryOperator()
13052 if (LHSTy->isNullPtrType()) { in EvaluateComparisonBinaryOperator()
13151 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() local
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5046 if (auto *LHSTy = dyn_cast<VectorType>(LHS->getType())) in OptimizeOverflowCheck() local
5047 OverflowTy = VectorType::get(OverflowTy, LHSTy->getElementCount()); in OptimizeOverflowCheck()
6101 auto *LHSTy = dyn_cast<FixedVectorType>(LHS->getType()); in foldReductionIdiom() local
6102 if (!LHSTy || !LHSTy->getElementType()->isIntegerTy()) in foldReductionIdiom()
6105 LHSTy->getNumElements() * LHSTy->getElementType()->getIntegerBitWidth(); in foldReductionIdiom()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1917 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1920 DL.getTypeSizeInBits(LHSTy).getFixedSize() && in isVectorPromotionViable()
1924 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1927 cast<FixedVectorType>(LHSTy)->getNumElements(); in isVectorPromotionViable()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4226 LLT LHSTy = MRI.getType(LHS); in matchICmpToLHSKnownBits() local
4227 unsigned LHSSize = LHSTy.getSizeInBits(); in matchICmpToLHSKnownBits()
4232 if (!isLegalOrBeforeLegalizer({Op, {DstTy, LHSTy}})) in matchICmpToLHSKnownBits()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1526 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
H A DTargetLowering.h395 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2198 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument
2200 EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout()); in getShiftAmountOperand()
H A DDAGCombiner.cpp779 EVT getShiftAmountTy(EVT LHSTy) { in getShiftAmountTy() argument
780 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
781 return TLI.getShiftAmountTy(LHSTy, DAG.getDataLayout(), LegalTypes); in getShiftAmountTy()