| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaCast.cpp | 58 CastOperation(Sema &S, QualType destType, ExprResult src) 59 : Self(S), SrcExpr(src), DestType(destType), 60 ResultType(destType.getNonLValueExprType(S.Context)), 61 ValueKind(Expr::getValueKindForType(destType)), 74 QualType DestType; 138 void checkAddressSpaceCast(QualType SrcType, QualType DestType); 141 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); 148 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) == 170 if (const auto *DestType = dyn_cast<PointerType>(ToType)) [all...] |
| SemaInit.cpp | 3876 QualType DestType, 3880 if (!S.isStdInitializerList(DestType, &E)) 3901 Sequence.AddStdInitializerListConstructionStep(DestType); 3926 QualType DestType, 3933 CandidateSet.setDestAS(DestType.getQualifiers().getAddressSpace()); 4013 ConvTemplate, I.getPair(), ActingDC, Initializer, DestType, 4018 DestType, CandidateSet, AllowExplicit, 4032 /// \param DestType The destination class type. 4033 /// \param DestArrayType The destination type, which is either DestType or 4034 /// a (possibly multidimensional) array of DestType [all...] |
| SemaExprObjC.cpp | 1657 void Sema::EmitRelatedResultTypeNoteForReturn(QualType destType) { 1662 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) 4229 QualType DestType, QualType SrcType, 4235 QualType T = CfToNs ? SrcType : DestType; 4252 << SrcType << DestType; 4263 << SrcType << DestType; 4278 << SrcType << DestType << Sel << false; 4292 << SrcType << DestType << Sel << true; 4303 QualType DestType, QualType SrcType, 4306 ARCConversionTypeClass lhsExprACTC = classifyTypeForARCConversion(DestType); [all...] |
| SemaExpr.cpp | 2940 QualType DestType; 2953 DestType = Context.getPointerType(DestRecordType); 2957 DestType = DestRecordType; 2964 DestType = Method->getThisType(); 2965 DestRecordType = DestType->getPointeeType(); 2972 DestType = DestRecordType; 2993 if (DestType->isDependentType() || FromType->isDependentType()) 3059 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase, 7946 QualType destType = S.Context.getPointerType(S.Context.VoidTy); 7947 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_BitCast) [all...] |
| SemaOverload.cpp | 5423 QualType FromRecordType, DestType; 5430 DestType = Method->getThisType(); 5434 DestType = ImplicitParamRecordType; 5454 Qualifiers ToQs = DestType.getQualifiers(); 5497 if (!Context.hasSameType(From->getType(), DestType)) { 5499 QualType PteeTy = DestType->getPointeeType(); 5501 PteeTy.isNull() ? DestType.getAddressSpace() : PteeTy.getAddressSpace(); 5506 From = ImpCastExprToType(From, DestType, CK, From->getValueKind()).get(); 10253 QualType DestType, bool TakingAddress) { 10269 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| ConversionChecker.cpp | 47 bool isLossOfPrecision(const ImplicitCastExpr *Cast, QualType DestType, 129 QualType DestType, 137 if (!DestType->isRealType() || !SubType->isIntegerType()) 140 const bool isFloat = DestType->isFloatingType(); 144 // We will find the largest RepresentsUntilExp value such that the DestType 149 const llvm::fltSemantics &Sema = AC.getFloatTypeSemantics(DestType); 152 RepresentsUntilExp = AC.getIntWidth(DestType); 157 if (DestType->isSignedIntegerType())
|
| NullabilityChecker.cpp | 975 QualType DestType = CE->getType(); 978 if (!DestType->isAnyPointerType()) 985 Nullability DestNullability = getNullabilityAnnotation(DestType);
|
| DynamicTypePropagation.cpp | 619 QualType DestType = CE->getType(); 622 const auto *DestObjectPtrType = DestType->getAs<ObjCObjectPointerType>();
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyAddMissingPrototypes.cpp | 96 if (auto *DestType = dyn_cast<FunctionType>( 100 NewType = DestType; 102 } else if (NewType != DestType) { 106 LLVM_DEBUG(dbgs() << " " << *DestType << "\n");
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGExprComplex.cpp | 84 /// Emit a cast from complex value Val to DestType. 86 QualType DestType, SourceLocation Loc); 87 /// Emit a cast from scalar value Val to DestType. 89 QualType DestType, SourceLocation Loc); 425 /// Emit a cast from complex value Val to DestType. 428 QualType DestType, 432 DestType = DestType->castAs<ComplexType>()->getElementType(); 438 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 440 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc) [all...] |
| CGExprConstant.cpp | 1042 llvm::Constant *VisitCastExpr(CastExpr *E, QualType destType) { 1058 auto destTy = ConvertType(destType); 1099 return Visit(subExpr, destType); 1263 QualType destType) { 1264 auto C = Visit(E->getBase(), destType); 1271 if (!EmitDesignatedInitUpdater(Emitter, Const, CharUnits::Zero(), destType, 1275 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType); 1277 if (auto *RT = destType->getAs<RecordType>()) 1353 ConstantEmitter::tryEmitAbstract(const Expr *E, QualType destType) { 1355 auto C = tryEmitPrivate(E, destType); [all...] |
| CGAtomic.cpp | 1047 auto *DestType = T->getPointerElementType()->getPointerTo(DestAS); 1050 *this, V, AS, LangAS::opencl_generic, DestType, false);
|
| CGStmtOpenMP.cpp | 5316 QualType SrcType, QualType DestType, 5318 assert(CGF.hasScalarEvaluationKind(DestType) && 5319 "DestType must have scalar evaluation kind."); 5322 DestType, Loc) 5324 Val.getComplexVal(), SrcType, DestType, Loc); 5329 QualType DestType, SourceLocation Loc) { 5330 assert(CGF.getEvaluationKind(DestType) == TEK_Complex && 5331 "DestType must have complex evaluation kind."); 5336 DestType->castAs<ComplexType>()->getElementType(); 5345 DestType->castAs<ComplexType>()->getElementType() [all...] |
| CGBuiltin.cpp | 704 llvm::Type *DestType = Int8PtrTy; 705 if (ArgValue->getType() != DestType) 707 Builder.CreateBitCast(ArgValue, DestType, ArgValue->getName().data()); 7974 llvm::Type *DestType) { 7987 V->getType()->getScalarSizeInBits() != DestType->getScalarSizeInBits()) { 7990 {DestType, V->getType()}), 7993 return Builder.CreateBitCast(V, DestType);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| Overload.h | 686 QualType DestType, 696 ICS.Standard.setToType(1, DestType); 697 ICS.Standard.setToType(2, DestType);
|
| Sema.h | 3700 QualType DestType = QualType(), bool TakingAddress = false); 3704 void NoteAllOverloadCandidates(Expr *E, QualType DestType = QualType(), 5409 CastKind PrepareScalarCast(ExprResult &src, QualType destType); 6038 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, 9818 QualType DestType, QualType SrcType, 9826 QualType DestType, 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/Transforms/InstCombine/ |
| InstCombineCasts.cpp | 483 Type *DestType = Trunc.getType(); 484 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) 497 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); 506 if (VecType->getElementType() != DestType) { 507 VecType = FixedVectorType::get(DestType, NumVecElts); 1884 Type *DestType = FI.getType(); 1899 int OutputSize = (int)DestType->getScalarSizeInBits() - IsOutputSigned; 1904 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { 1907 return new SExtInst(X, DestType); 1908 return new ZExtInst(X, DestType); [all...] |
| InstCombineVectorOps.cpp | 2013 Type *DestType = Shuf.getType(); 2016 !match(Shuf.getOperand(1), m_Undef()) || !DestType->isIntOrIntVectorTy()) 2024 cast<FixedVectorType>(DestType)->getNumElements() || 2025 SrcType->getScalarSizeInBits() % DestType->getScalarSizeInBits() != 0) 2034 SrcType->getScalarSizeInBits() / DestType->getScalarSizeInBits(); 2045 return new TruncInst(X, DestType);
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ExprCXX.cpp | 768 QualType DestType = getType(); 772 DestType = DestType->castAs<PointerType>()->getPointeeType(); 775 if (DestType->isVoidType()) 785 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
|
| ExprConstant.cpp | 2517 const T &SrcValue, QualType DestType) { 2519 << SrcValue << DestType; 2525 QualType DestType, APSInt &Result) { 2526 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); 2528 bool DestSigned = DestType->isSignedIntegerOrEnumerationType(); 2534 return HandleOverflow(Info, E, Value, DestType); 2596 QualType SrcType, QualType DestType, 2604 St = Result.convert(Info.Ctx.getFloatTypeSemantics(DestType), RM, &ignored); 2609 QualType DestType, QualType SrcType, 2611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| RangeConstraintManager.cpp | 873 RangeSet inferAs(SymbolRef Sym, QualType DestType) { 882 return infer(DestType);
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| CombinerHelper.cpp | 1871 LLT DestType = MRI.getType(MI.getOperand(0).getReg()); 1878 Builder.buildInstr(Opcode, {DestType}, {Shift1Base, Const}).getReg(0); 1882 .buildInstr(Opcode, {DestType},
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| LegalizeDAG.cpp | 1699 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); 1700 Align DestAlign = DAG.getDataLayout().getPrefTypeAlign(DestType);
|