Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprComplex.cpp822 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
823 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
824 LHSTy = AT->getValueType(); in EmitCompoundAssignLValue()
849 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
851 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
856 if (LHSTy->isRealFloatingType()) { in EmitCompoundAssignLValue()
857 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy)) in EmitCompoundAssignLValue()
858 LHSVal = CGF.EmitScalarConversion(LHSVal, LHSTy, ComplexElementTy); in EmitCompoundAssignLValue()
861 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
869 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
[all …]
DCGExprScalar.cpp2105 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
2122 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
2157 E->getRHS()->getType(), LHSTy), LHSTy); in EmitCompoundAssignLValue()
2178 OpInfo.LHS = EmitScalarConversion(OpInfo.LHS, LHSTy, in EmitCompoundAssignLValue()
2185 Result = EmitScalarConversion(Result, E->getComputationResultType(), LHSTy); in EmitCompoundAssignLValue()
2192 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue()
2835 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() local
2837 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare()
2844 } else if (!LHSTy->isAnyComplexType() && !RHSTy->isAnyComplexType()) { in EmitCompare()
2850 if (LHSTy->isVectorType() && !E->getType()->isVectorType()) { in EmitCompare()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp3973 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
3983 if (LHSTy->isDependentType() || RHSTy->isDependentType()) { in CreateBuiltinArraySubscriptExpr()
3987 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { in CreateBuiltinArraySubscriptExpr()
3992 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr()
4019 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) { in CreateBuiltinArraySubscriptExpr()
4028 } else if (LHSTy->isArrayType()) { in CreateBuiltinArraySubscriptExpr()
4036 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy), in CreateBuiltinArraySubscriptExpr()
4038 LHSTy = LHSExp->getType(); in CreateBuiltinArraySubscriptExpr()
4042 ResultType = LHSTy->getAs<PointerType>()->getPointeeType(); in CreateBuiltinArraySubscriptExpr()
5713 QualType LHSTy = LHS.get()->getType(); in checkConditionalPointerCompatibility() local
[all …]
DSemaChecking.cpp680 QualType LHSTy = Context.getPointerType(EltTy); in CheckNeonBuiltinFunctionCall() local
682 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
685 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h75 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp870 MVT TargetLoweringBase::getScalarShiftAmountTy(EVT LHSTy) const { in getScalarShiftAmountTy()
874 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy) const { in getShiftAmountTy()
875 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
876 if (LHSTy.isVector()) in getShiftAmountTy()
877 return LHSTy; in getShiftAmountTy()
878 return getScalarShiftAmountTy(LHSTy); in getShiftAmountTy()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.h89 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.h104 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h222 MVT getScalarShiftAmountTy(EVT LHSTy) const override { in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h509 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h236 MVT getScalarShiftAmountTy(EVT LHSTy) const override;
DAArch64ISelLowering.cpp769 MVT AArch64TargetLowering::getScalarShiftAmountTy(EVT LHSTy) const { in getScalarShiftAmountTy()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h230 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/include/llvm/Target/
DTargetLowering.h175 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const;
177 EVT getShiftAmountTy(EVT LHSTy) const;
/external/llvm/lib/Target/X86/
DX86ISelLowering.h570 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h406 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/clang/lib/AST/
DExprConstant.cpp6844 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() local
6847 if (LHSTy->isAnyComplexType() || RHSTy->isAnyComplexType()) { in VisitBinaryOperator()
6854 } else if (LHSTy->isRealFloatingType()) { in VisitBinaryOperator()
6906 if (LHSTy->isRealFloatingType() && in VisitBinaryOperator()
6940 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in VisitBinaryOperator()
7074 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7122 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in VisitBinaryOperator()
7155 if (LHSTy->isMemberPointerType()) { in VisitBinaryOperator()
7193 if (LHSTy->isNullPtrType()) { in VisitBinaryOperator()
7203 assert((!LHSTy->isIntegralOrEnumerationType() || in VisitBinaryOperator()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2056 auto RankVectorTypes = [&DL](VectorType *RHSTy, VectorType *LHSTy) { in isVectorPromotionViable() argument
2057 assert(DL.getTypeSizeInBits(RHSTy) == DL.getTypeSizeInBits(LHSTy) && in isVectorPromotionViable()
2061 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
2063 return RHSTy->getNumElements() < LHSTy->getNumElements(); in isVectorPromotionViable()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h871 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp421 EVT getShiftAmountTy(EVT LHSTy) { in getShiftAmountTy() argument
422 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
423 if (LHSTy.isVector()) in getShiftAmountTy()
424 return LHSTy; in getShiftAmountTy()
425 return LegalTypes ? TLI.getScalarShiftAmountTy(LHSTy) in getShiftAmountTy()
DSelectionDAG.cpp1795 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument
1797 EVT ShTy = TLI->getShiftAmountTy(LHSTy); in getShiftAmountOperand()