Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprComplex.cpp642 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
660 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
662 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
665 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
672 if (LHSTy->isAnyComplexType()) { in EmitCompoundAssignLValue()
673 ComplexPairTy ResVal = EmitComplexToComplexCast(Result, OpInfo.Ty, LHSTy); in EmitCompoundAssignLValue()
678 CGF.EmitComplexToScalarConversion(Result, OpInfo.Ty, LHSTy); in EmitCompoundAssignLValue()
DCGExprScalar.cpp1996 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() local
2013 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
2048 E->getRHS()->getType(), LHSTy), LHSTy); in EmitCompoundAssignLValue()
2069 OpInfo.LHS = EmitScalarConversion(OpInfo.LHS, LHSTy, in EmitCompoundAssignLValue()
2076 Result = EmitScalarConversion(Result, E->getComputationResultType(), LHSTy); in EmitCompoundAssignLValue()
2082 LHSLV.getAddress(), atomicPHI, CGF.EmitToMemory(Result, LHSTy), in EmitCompoundAssignLValue()
2696 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() local
2697 if (const MemberPointerType *MPT = LHSTy->getAs<MemberPointerType>()) { in EmitCompare()
2704 } else if (!LHSTy->isAnyComplexType()) { in EmitCompare()
2710 if (LHSTy->isVectorType() && !E->getType()->isVectorType()) { in EmitCompare()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp3827 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType(); in CreateBuiltinArraySubscriptExpr() local
3837 if (LHSTy->isDependentType() || RHSTy->isDependentType()) { in CreateBuiltinArraySubscriptExpr()
3841 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { in CreateBuiltinArraySubscriptExpr()
3846 LHSTy->getAs<ObjCObjectPointerType>()) { in CreateBuiltinArraySubscriptExpr()
3873 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) { in CreateBuiltinArraySubscriptExpr()
3882 } else if (LHSTy->isArrayType()) { in CreateBuiltinArraySubscriptExpr()
3890 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy), in CreateBuiltinArraySubscriptExpr()
3892 LHSTy = LHSExp->getType(); in CreateBuiltinArraySubscriptExpr()
3896 ResultType = LHSTy->getAs<PointerType>()->getPointeeType(); in CreateBuiltinArraySubscriptExpr()
5507 QualType LHSTy = LHS.get()->getType(); in checkConditionalPointerCompatibility() local
[all …]
DSemaChecking.cpp462 QualType LHSTy = Context.getPointerType(EltTy); in CheckNeonBuiltinFunctionCall() local
464 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS); in CheckNeonBuiltinFunctionCall()
467 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy, in CheckNeonBuiltinFunctionCall()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h73 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp838 MVT TargetLoweringBase::getScalarShiftAmountTy(EVT LHSTy) const { in getScalarShiftAmountTy()
842 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy) const { in getShiftAmountTy()
843 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
844 if (LHSTy.isVector()) in getShiftAmountTy()
845 return LHSTy; in getShiftAmountTy()
846 return getScalarShiftAmountTy(LHSTy); in getShiftAmountTy()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.h87 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/NVPTX/
DNVPTXISelLowering.h243 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h204 MVT getScalarShiftAmountTy(EVT LHSTy) const override { in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h213 MVT getScalarShiftAmountTy(EVT LHSTy) const override;
DAArch64ISelLowering.cpp628 MVT AArch64TargetLowering::getScalarShiftAmountTy(EVT LHSTy) const { in getScalarShiftAmountTy()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h353 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h226 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
/external/llvm/lib/Target/X86/
DX86ISelLowering.h524 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
/external/llvm/include/llvm/Target/
DTargetLowering.h162 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const;
164 EVT getShiftAmountTy(EVT LHSTy) const;
/external/clang/lib/AST/
DExprConstant.cpp6600 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() local
6603 if (LHSTy->isAnyComplexType()) { in VisitBinaryOperator()
6646 if (LHSTy->isRealFloatingType() && in VisitBinaryOperator()
6680 if (LHSTy->isPointerType() && RHSTy->isPointerType()) { in VisitBinaryOperator()
6802 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
6850 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in VisitBinaryOperator()
6883 if (LHSTy->isMemberPointerType()) { in VisitBinaryOperator()
6921 if (LHSTy->isNullPtrType()) { in VisitBinaryOperator()
6931 assert((!LHSTy->isIntegralOrEnumerationType() || in VisitBinaryOperator()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h846 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp369 EVT getShiftAmountTy(EVT LHSTy) { in getShiftAmountTy() argument
370 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
371 if (LHSTy.isVector()) in getShiftAmountTy()
372 return LHSTy; in getShiftAmountTy()
373 return LegalTypes ? TLI.getScalarShiftAmountTy(LHSTy) in getShiftAmountTy()
DSelectionDAG.cpp1750 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument
1752 EVT ShTy = TM.getTargetLowering()->getShiftAmountTy(LHSTy); in getShiftAmountOperand()