/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 822 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 …]
|
D | CGExprScalar.cpp | 2105 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/ |
D | SemaExpr.cpp | 3973 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 …]
|
D | SemaChecking.cpp | 680 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/ |
D | MSP430ISelLowering.h | 75 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 870 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/ |
D | SparcISelLowering.h | 89 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.h | 104 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.h | 222 MVT getScalarShiftAmountTy(EVT LHSTy) const override { in getScalarShiftAmountTy() argument
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.h | 509 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 236 MVT getScalarShiftAmountTy(EVT LHSTy) const override;
|
D | AArch64ISelLowering.cpp | 769 MVT AArch64TargetLowering::getScalarShiftAmountTy(EVT LHSTy) const { in getScalarShiftAmountTy()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 230 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 175 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const; 177 EVT getShiftAmountTy(EVT LHSTy) const;
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 570 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; } in getScalarShiftAmountTy() argument
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 406 MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; } in getScalarShiftAmountTy() argument
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6844 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/ |
D | SROA.cpp | 2056 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/ |
D | SelectionDAG.h | 871 SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 421 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()
|
D | SelectionDAG.cpp | 1795 SDValue SelectionDAG::getShiftAmountOperand(EVT LHSTy, SDValue Op) { in getShiftAmountOperand() argument 1797 EVT ShTy = TLI->getShiftAmountTy(LHSTy); in getShiftAmountOperand()
|