Searched refs:LHSTy (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp892 QualType LHSTy = E->getLHS()->getType(); local
893 if (const AtomicType *AT = LHSTy->getAs<AtomicType>())
894 LHSTy = AT->getValueType();
920 if (LHSTy->isAnyComplexType()) {
922 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc);
927 if (LHSTy->isRealFloatingType()) {
928 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy))
929 LHSVal = CGF.EmitScalarConversion(LHSVal, LHSTy, ComplexElementTy, Loc);
932 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc);
940 if (LHSTy
[all...]
H A DCGExprScalar.cpp200 QualType LHSTy = *OptionalLHSTy;
206 !LHSTy->isUnsignedIntegerType() || !RHSTy->isUnsignedIntegerType())
212 return (2 * Ctx.getTypeSize(LHSTy)) < PromotedSize ||
2904 QualType LHSTy = E->getLHS()->getType(); local
2921 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) {
2962 EmitScalarConversion(OpInfo.RHS, E->getRHS()->getType(), LHSTy,
2964 LHSTy);
2992 EmitScalarConversion(OpInfo.LHS, LHSTy, E->getComputationLHSType(), Loc);
2999 Result = EmitScalarConversion(Result, E->getComputationResultType(), LHSTy,
3007 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy);
3475 QualType LHSTy = BinOp->getLHS()->getType(); local
3815 QualType LHSTy = E->getLHS()->getType(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1333 static QualType handleFixedPointConversion(Sema &S, QualType LHSTy, argument
1335 assert((LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) &&
1337 assert((LHSTy->isFixedPointOrIntegerType() ||
1346 if (RHSTy->isSignedFixedPointType() && LHSTy->isUnsignedFixedPointType())
1347 LHSTy = S.Context.getCorrespondingSignedFixedPointType(LHSTy);
1348 else if (RHSTy->isUnsignedFixedPointType() && LHSTy->isSignedFixedPointType())
1359 unsigned LHSTyRank = GetFixedPointRank(LHSTy);
1362 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy;
1364 if (LHSTy
4762 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); local
7046 QualType LHSTy = LHS.get()->getType(); local
7176 QualType LHSTy = LHS.get()->getType(); local
7202 QualType LHSTy = LHS.get()->getType(); local
7589 QualType LHSTy = LHS.get()->getType(); local
7862 computeConditionalNullability(QualType ResTy, bool IsBin, QualType LHSTy, QualType RHSTy, ASTContext &Ctx) argument
7987 QualType LHSTy = LHSExpr->getType(), RHSTy = RHSExpr->getType(); local
9348 QualType LHSTy = LHSArg->getType(); local
9795 QualType LHSTy = Context.isPromotableBitField(LHS.get()); local
12953 QualType LHSTy = LHSExpr->getType(); local
[all...]
H A DSemaChecking.cpp1787 QualType LHSTy = Context.getPointerType(EltTy); local
1789 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS);
1792 if (DiagnoseAssignmentResult(ConvTy, Arg->getBeginLoc(), LHSTy, RHSTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.h76 MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp775 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, const DataLayout &DL, argument
777 assert(LHSTy.isInteger() && "Shift amount is not an integer type!");
778 if (LHSTy.isVector())
779 return LHSTy;
780 return LegalTypes ? getScalarShiftAmountTy(DL, LHSTy)
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11717 QualType LHSTy = E->getLHS()->getType();
11720 if (LHSTy->isIntegralOrEnumerationType() &&
11735 if (LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) {
11736 APFixedPoint LHSFX(Info.Ctx.getFixedPointSemantics(LHSTy));
11751 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) {
11758 } else if (LHSTy->isRealFloatingType()) {
11793 if (LHSTy->isRealFloatingType() &&
11821 if (LHSTy->isPointerType() && RHSTy->isPointerType()) {
11885 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational)
11931 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1937 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) {
1939 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) &&
1943 assert(LHSTy->getElementType()->isIntegerTy() &&
1945 return RHSTy->getNumElements() < LHSTy->getNumElements();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1194 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
H A DTargetLowering.h277 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1926 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) {
1928 EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout());
H A DDAGCombiner.cpp700 EVT getShiftAmountTy(EVT LHSTy) { argument
701 assert(LHSTy.isInteger() && "Shift amount is not an integer type!");
702 return TLI.getShiftAmountTy(LHSTy, DAG.getDataLayout(), LegalTypes);

Completed in 466 milliseconds