| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 904 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 D | CGExprScalar.cpp | 199 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 D | SemaExpr.cpp | 1442 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 D | SemaChecking.cpp | 2912 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 D | AArch64PreLegalizerCombiner.cpp | 74 LLT LHSTy = MRI.getType(LHS); in matchICmpRedundantTrunc() local 75 if (!LHSTy.isScalar()) in matchICmpRedundantTrunc() 87 WideTy.getSizeInBits() - LHSTy.getSizeInBits()) in matchICmpRedundantTrunc()
|
| H A D | AArch64InstructionSelector.cpp | 1679 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 D | IslExprBuilder.cpp | 504 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 D | AVRISelLowering.h | 87 MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override { in getScalarShiftAmountTy() argument
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 908 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 D | ExprConstant.cpp | 12764 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 D | InstCombineCompares.cpp | 5046 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 D | SROA.cpp | 1917 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 D | CombinerHelper.cpp | 4226 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 D | SelectionDAG.h | 1526 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
|
| H A D | TargetLowering.h | 395 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2198 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument 2200 EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout()); in getShiftAmountOperand()
|
| H A D | DAGCombiner.cpp | 779 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()
|