Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGExprComplex.cpp829 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
830 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
831 LHSTy = AT->getValueType(); in EmitCompoundAssignLValue()
857 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
859 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
864 if (LHSTy->isRealFloatingType()) { in EmitCompoundAssignLValue()
865 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy)) in EmitCompoundAssignLValue()
866 LHSVal = CGF.EmitScalarConversion(LHSVal, LHSTy, ComplexElementTy, Loc); in EmitCompoundAssignLValue()
869 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty, Loc); in EmitCompoundAssignLValue()
877 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
[all …]
DCGExprScalar.cpp2096 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
2113 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
2148 EmitScalarConversion(OpInfo.RHS, E->getRHS()->getType(), LHSTy, in EmitCompoundAssignLValue()
2150 LHSTy); in EmitCompoundAssignLValue()
2173 EmitScalarConversion(OpInfo.LHS, LHSTy, E->getComputationLHSType(), Loc); in EmitCompoundAssignLValue()
2180 EmitScalarConversion(Result, E->getComputationResultType(), LHSTy, Loc); in EmitCompoundAssignLValue()
2187 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue()
2829 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() local
2831 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare()
2838 } else if (!LHSTy->isAnyComplexType() && !RHSTy->isAnyComplexType()) { in EmitCompare()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp4374 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
4384 if (LHSTy->isDependentType() || RHSTy->isDependentType()) { in CreateBuiltinArraySubscriptExpr()
4388 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { in CreateBuiltinArraySubscriptExpr()
4393 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr()
4420 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) { in CreateBuiltinArraySubscriptExpr()
4429 } else if (LHSTy->isArrayType()) { in CreateBuiltinArraySubscriptExpr()
4437 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy), in CreateBuiltinArraySubscriptExpr()
4439 LHSTy = LHSExp->getType(); in CreateBuiltinArraySubscriptExpr()
4443 ResultType = LHSTy->getAs<PointerType>()->getPointeeType(); in CreateBuiltinArraySubscriptExpr()
6209 QualType LHSTy = LHS.get()->getType(); in checkConditionalPointerCompatibility() local
[all …]
DSemaChecking.cpp1226 QualType LHSTy = Context.getPointerType(EltTy); in CheckNeonBuiltinFunctionCall() local
1228 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
1231 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelLowering.h35 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i16; } in getShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelLowering.h66 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i64; } in getShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelLowering.h60 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i64; } in getShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.h112 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy() argument
/external/llvm/lib/Target/AVR/
DAVRISelLowering.h72 MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override { in getScalarShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.h76 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getShiftAmountTy() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRISelLowering.h75 MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override { in getScalarShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.h84 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp695 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, const DataLayout &DL, in getShiftAmountTy() argument
697 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
698 if (LHSTy.isVector()) in getShiftAmountTy()
699 return LHSTy; in getShiftAmountTy()
700 return LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) in getShiftAmountTy()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp951 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, in getShiftAmountTy() argument
953 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
954 if (LHSTy.isVector()) in getShiftAmountTy()
955 return LHSTy; in getShiftAmountTy()
956 return getScalarShiftAmountTy(DL, LHSTy); in getShiftAmountTy()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.h246 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy() argument
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.h508 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getShiftAmountTy() argument
/external/clang/lib/AST/
DExprConstant.cpp7491 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() local
7494 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in VisitBinaryOperator()
7501 } else if (LHSTy->isRealFloatingType()) { in VisitBinaryOperator()
7553 if (LHSTy->isRealFloatingType() && in VisitBinaryOperator()
7587 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in VisitBinaryOperator()
7721 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7769 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in VisitBinaryOperator()
7802 if (LHSTy->isMemberPointerType()) { in VisitBinaryOperator()
7840 if (LHSTy->isNullPtrType()) { in VisitBinaryOperator()
7850 assert((!LHSTy->isIntegralOrEnumerationType() || in VisitBinaryOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1899 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1901 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1905 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1907 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1830 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
1831 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
1835 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1837 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h144 virtual MVT getShiftAmountTy(EVT LHSTy) const;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAG.h699 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h987 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
/external/llvm/include/llvm/Target/
DTargetLowering.h184 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1135 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
DTargetLowering.h257 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,

12