| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaCast.cpp | 138 void checkAddressSpaceCast(QualType SrcType, QualType DestType); 216 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 222 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 230 QualType SrcType, 426 QualType srcType = src->getType(); 427 if (!destType->isRecordType() && !srcType->isRecordType()) 476 S.PDiag(msg) << CT << srcType << destType << range 622 /// Check if the pointer conversion from SrcType to DestType casts away 629 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, 640 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() | [all...] |
| SemaExprObjC.cpp | 4191 QualType SrcType = castExpr->getType(); 4195 SrcType = PDecl->getType(); 4199 SrcType = Getter->getReturnType(); 4203 ARCConversionTypeClass srcExprACTC = classifyTypeForARCConversion(SrcType); 4207 CheckObjCBridgeRelatedConversions(castExpr->getBeginLoc(), castType, SrcType, 4229 QualType DestType, QualType SrcType, 4235 QualType T = CfToNs ? SrcType : DestType; 4252 << SrcType << DestType; 4263 << SrcType << DestType; 4278 << SrcType << DestType << Sel << false [all...] |
| Sema.cpp | 525 QualType SrcType, 527 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); 536 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType;
|
| SemaExpr.cpp | 15846 QualType DstType, QualType SrcType, 15864 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); 15874 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 15884 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 15894 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 15907 SrcType->isObjCObjectPointerType(); 15909 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 15911 SrcType = SrcType.getUnqualifiedType(); 15934 if (SrcType->isArrayType()) SrcType = Context.getArrayDecayedType(SrcType) [all...] |
| SemaStmt.cpp | 1590 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, 1596 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && 1597 SrcType->isIntegerType()) {
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| MachineIRBuilder.h | 128 enum class SrcType { Ty_Reg, Ty_MIB, Ty_Predicate, Ty_Imm }; 129 SrcOp(Register R) : Reg(R), Ty(SrcType::Ty_Reg) {} 130 SrcOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(SrcType::Ty_Reg) {} 131 SrcOp(const MachineInstrBuilder &MIB) : SrcMIB(MIB), Ty(SrcType::Ty_MIB) {} 132 SrcOp(const CmpInst::Predicate P) : Pred(P), Ty(SrcType::Ty_Predicate) {} 138 SrcOp(uint64_t V) : Imm(V), Ty(SrcType::Ty_Imm) {} 139 SrcOp(int64_t V) : Imm(V), Ty(SrcType::Ty_Imm) {} 143 case SrcType::Ty_Predicate: 146 case SrcType::Ty_Reg: 149 case SrcType::Ty_MIB [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGExprScalar.cpp | 308 Value *Src, QualType SrcType, QualType DstType, 323 void EmitIntegerTruncationCheck(Value *Src, QualType SrcType, Value *Dst, 329 void EmitIntegerSignChangeCheck(Value *Src, QualType SrcType, Value *Dst, 351 Value *EmitScalarCast(Value *Src, QualType SrcType, QualType DstType, 875 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { 876 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 878 if (SrcType->isRealFloatingType()) 881 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 884 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 891 return EmitPointerToBoolConversion(Src, SrcType); [all...] |
| CGExprComplex.cpp | 85 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 88 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 427 QualType SrcType, 431 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 438 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 440 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); 445 QualType SrcType, 450 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc);
|
| CGStmtOpenMP.cpp | 5316 QualType SrcType, QualType DestType, 5321 return Val.isScalar() ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, 5324 Val.getComplexVal(), SrcType, DestType, Loc); 5328 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, 5338 Val.getScalarVal(), SrcType, DestElementType, Loc); 5343 QualType SrcElementType = SrcType->castAs<ComplexType>()->getElementType();
|
| CGBuiltin.cpp | 16922 llvm::Type *SrcType = nullptr; 16933 SrcType = Src->getType(); 16934 if (SrcType->isPointerTy()) { 16937 CGF.CGM.getDataLayout().getIndexTypeSizeInBits(SrcType)); 16939 assert(SrcType->isIntegerTy()); 16940 IntType = cast<llvm::IntegerType>(SrcType); 16954 if (Args.SrcType->isPointerTy()) 16986 // Intrinsic::ptrmask, {Args.SrcType, SrcForMask->getType(), Args.IntType}, 17000 Result = Builder.CreatePointerCast(Result, Args.SrcType); 17005 assert(Result->getType() == Args.SrcType); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| CSEMIRBuilder.cpp | 85 case SrcOp::SrcType::Ty_Imm: 88 case SrcOp::SrcType::Ty_Predicate:
|
| CombinerHelper.cpp | 257 LLT SrcType = MRI.getType(Src1); 262 unsigned SrcNumElts = SrcType.isVector() ? SrcType.getNumElements() : 1; 298 // Ensure the indices in each SrcType sized piece are sequential and that 316 UndefReg = Builder.buildUndef(SrcType).getReg(0);
|
| MachineIRBuilder.cpp | 1090 assert(SrcOps[0].getSrcOpKind() == SrcOp::SrcType::Ty_Predicate &&
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUPreLegalizerCombiner.cpp | 63 const LLT SrcType = MRI.getType(MI.getOperand(1).getReg()); 64 if (SrcType != LLT::scalar(64))
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineVectorOps.cpp | 2021 Type *SrcType = X->getType(); 2022 if (!SrcType->isVectorTy() || !SrcType->isIntOrIntVectorTy() || 2023 cast<FixedVectorType>(SrcType)->getNumElements() != 2025 SrcType->getScalarSizeInBits() % DestType->getScalarSizeInBits() != 0) 2034 SrcType->getScalarSizeInBits() / DestType->getScalarSizeInBits();
|
| InstructionCombining.cpp | 2384 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); 2385 Type *SrcEltType = SrcType->getElementType(); 2454 if (SrcType->getPointerAddressSpace() != GEP.getAddressSpace()) 2463 if (FindElementAtOffset(SrcType, Offset.getSExtValue(), NewIndices)) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCTargetTransformInfo.cpp | 451 Type *SrcType = CI->getArgOperand(0)->getType()->getScalarType(); 453 if (SrcType->isPPC_FP128Ty() || DstType->isPPC_FP128Ty() || 454 isLargeIntegerTy(!TM.isPPC64(), SrcType) ||
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ExprCXX.cpp | 767 QualType SrcType = getSubExpr()->getType(); 770 if (const auto *SrcPTy = SrcType->getAs<PointerType>()) { 771 SrcType = SrcPTy->getPointeeType(); 779 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
|
| ExprConstant.cpp | 2524 QualType SrcType, const APFloat &Value, 2596 QualType SrcType, QualType DestType, 2609 QualType DestType, QualType SrcType, 2623 QualType SrcType, const APSInt &Value, 13145 QualType SrcType = SubExpr->getType(); 13223 APFixedPoint Src(Info.Ctx.getFixedPointSemantics(SrcType)); 13254 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 13256 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 13259 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, 13275 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyISelLowering.cpp | 2069 MVT SrcType = CastOp.getSimpleValueType(); 2071 if (!SrcType.is128BitVector() || 2072 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) 2075 SrcType, SDLoc(N), CastOp, DAG.getUNDEF(SrcType), Shuffle->getMask());
|
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| Sema.h | 4885 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, 6038 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, 9818 QualType DestType, QualType SrcType, 9826 QualType DestType, QualType SrcType, 11468 QualType DstType, QualType SrcType, 11480 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, 11642 bool isValidSveBitcast(QualType srcType, QualType destType); 11646 bool areVectorTypesSameSize(QualType srcType, QualType destType); 11647 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType); 11648 bool isLaxVectorConversion(QualType srcType, QualType destType) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ScalarEvolution.cpp | 2411 if (auto *SrcType = FindTruncSrcType()) { 2418 if (T->getOperand()->getType() != SrcType) { 2424 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); 2430 if (T->getOperand()->getType() != SrcType) { 2436 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType));
|