Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprComplex.cpp828 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
829 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
830 LHSTy = AT->getValueType(); in EmitCompoundAssignLValue()
856 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
858 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
863 if (LHSTy->isRealFloatingType()) { in EmitCompoundAssignLValue()
864 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy)) in EmitCompoundAssignLValue()
865 LHSVal = CGF.EmitScalarConversion(LHSVal, LHSTy, ComplexElementTy, Loc); in EmitCompoundAssignLValue()
868 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
876 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
[all …]
DCGExprScalar.cpp2109 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
2126 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
2161 EmitScalarConversion(OpInfo.RHS, E->getRHS()->getType(), LHSTy, in EmitCompoundAssignLValue()
2163 LHSTy); in EmitCompoundAssignLValue()
2186 EmitScalarConversion(OpInfo.LHS, LHSTy, E->getComputationLHSType(), Loc); in EmitCompoundAssignLValue()
2193 EmitScalarConversion(Result, E->getComputationResultType(), LHSTy, Loc); in EmitCompoundAssignLValue()
2200 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue()
2842 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() local
2844 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare()
2851 } else if (!LHSTy->isAnyComplexType() && !RHSTy->isAnyComplexType()) { in EmitCompare()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp4139 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
4149 if (LHSTy->isDependentType() || RHSTy->isDependentType()) { in CreateBuiltinArraySubscriptExpr()
4153 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { in CreateBuiltinArraySubscriptExpr()
4158 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr()
4185 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) { in CreateBuiltinArraySubscriptExpr()
4194 } else if (LHSTy->isArrayType()) { in CreateBuiltinArraySubscriptExpr()
4202 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy), in CreateBuiltinArraySubscriptExpr()
4204 LHSTy = LHSExp->getType(); in CreateBuiltinArraySubscriptExpr()
4208 ResultType = LHSTy->getAs<PointerType>()->getPointeeType(); in CreateBuiltinArraySubscriptExpr()
5906 QualType LHSTy = LHS.get()->getType(); in checkConditionalPointerCompatibility() local
[all …]
DSemaChecking.cpp726 QualType LHSTy = Context.getPointerType(EltTy); in CheckNeonBuiltinFunctionCall() local
728 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
731 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp869 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, in getShiftAmountTy() argument
871 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
872 if (LHSTy.isVector()) in getShiftAmountTy()
873 return LHSTy; in getShiftAmountTy()
874 return getScalarShiftAmountTy(DL, LHSTy); in getShiftAmountTy()
/external/clang/lib/AST/
DExprConstant.cpp7195 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() local
7198 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in VisitBinaryOperator()
7205 } else if (LHSTy->isRealFloatingType()) { in VisitBinaryOperator()
7257 if (LHSTy->isRealFloatingType() && in VisitBinaryOperator()
7291 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in VisitBinaryOperator()
7425 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7473 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in VisitBinaryOperator()
7506 if (LHSTy->isMemberPointerType()) { in VisitBinaryOperator()
7544 if (LHSTy->isNullPtrType()) { in VisitBinaryOperator()
7554 assert((!LHSTy->isIntegralOrEnumerationType() || in VisitBinaryOperator()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1846 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1847 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1851 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1853 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h903 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
/external/llvm/include/llvm/Target/
DTargetLowering.h181 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp474 EVT getShiftAmountTy(EVT LHSTy) { in getShiftAmountTy() argument
475 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
476 if (LHSTy.isVector()) in getShiftAmountTy()
477 return LHSTy; in getShiftAmountTy()
479 return LegalTypes ? TLI.getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
DSelectionDAG.cpp1830 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument
1832 EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout()); in getShiftAmountOperand()