Home
last modified time | relevance | path

Searched refs:DestType (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCast.cpp59 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
74 QualType DestType; member
138 void checkAddressSpaceCast(QualType SrcType, QualType DestType);
141 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign()
148 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) == in checkObjCConversion()
170 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() local
171 if (!DestType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
192 QualType DestType);
206 QualType DestType, bool CStyle,
211 QualType DestType, bool CStyle,
[all …]
H A DSemaInit.cpp3876 QualType DestType, in TryInitializerListConstruction() argument
3880 if (!S.isStdInitializerList(DestType, &E)) in TryInitializerListConstruction()
3901 Sequence.AddStdInitializerListConstructionStep(DestType); in TryInitializerListConstruction()
3926 QualType DestType, in ResolveConstructorOverload() argument
3933 CandidateSet.setDestAS(DestType.getQualifiers().getAddressSpace()); in ResolveConstructorOverload()
4013 ConvTemplate, I.getPair(), ActingDC, Initializer, DestType, in ResolveConstructorOverload()
4018 DestType, CandidateSet, AllowExplicit, in ResolveConstructorOverload()
4042 MultiExprArg Args, QualType DestType, in TryConstructorInitialization() argument
4057 if (!S.isCompleteType(Kind.getLocation(), DestType)) { in TryConstructorInitialization()
4058 Sequence.setIncompleteTypeFailure(DestType); in TryConstructorInitialization()
[all …]
H A DSemaExprObjC.cpp4229 QualType DestType, QualType SrcType, in checkObjCBridgeRelatedComponents() argument
4235 QualType T = CfToNs ? SrcType : DestType; in checkObjCBridgeRelatedComponents()
4252 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
4263 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
4278 << SrcType << DestType << Sel << false; in checkObjCBridgeRelatedComponents()
4292 << SrcType << DestType << Sel << true; in checkObjCBridgeRelatedComponents()
4303 QualType DestType, QualType SrcType, in CheckObjCBridgeRelatedConversions() argument
4306 ARCConversionTypeClass lhsExprACTC = classifyTypeForARCConversion(DestType); in CheckObjCBridgeRelatedConversions()
4316 if (!checkObjCBridgeRelatedComponents(Loc, DestType, SrcType, RelatedClass, in CheckObjCBridgeRelatedConversions()
4333 << SrcType << DestType << ClassMethod->getSelector() << false in CheckObjCBridgeRelatedConversions()
[all …]
H A DSemaExpr.cpp2940 QualType DestType; in PerformObjectMemberConversion() local
2953 DestType = Context.getPointerType(DestRecordType); in PerformObjectMemberConversion()
2957 DestType = DestRecordType; in PerformObjectMemberConversion()
2964 DestType = Method->getThisType(); in PerformObjectMemberConversion()
2965 DestRecordType = DestType->getPointeeType(); in PerformObjectMemberConversion()
2972 DestType = DestRecordType; in PerformObjectMemberConversion()
2993 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
3059 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase, in PerformObjectMemberConversion()
19051 QualType DestType; member
19054 : S(S), DestType(CastType) {} in RebuildUnknownAnyExpr()
[all …]
H A DSemaOverload.cpp5423 QualType FromRecordType, DestType; in PerformObjectArgumentInitialization() local
5430 DestType = Method->getThisType(); in PerformObjectArgumentInitialization()
5434 DestType = ImplicitParamRecordType; in PerformObjectArgumentInitialization()
5454 Qualifiers ToQs = DestType.getQualifiers(); in PerformObjectArgumentInitialization()
5497 if (!Context.hasSameType(From->getType(), DestType)) { in PerformObjectArgumentInitialization()
5499 QualType PteeTy = DestType->getPointeeType(); in PerformObjectArgumentInitialization()
5501 PteeTy.isNull() ? DestType.getAddressSpace() : PteeTy.getAddressSpace(); in PerformObjectArgumentInitialization()
5506 From = ImpCastExprToType(From, DestType, CK, From->getValueKind()).get(); in PerformObjectArgumentInitialization()
10253 QualType DestType, bool TakingAddress) { in NoteOverloadCandidate() argument
10269 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType); in NoteOverloadCandidate()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp47 bool isLossOfPrecision(const ImplicitCastExpr *Cast, QualType DestType,
129 QualType DestType, in isLossOfPrecision() argument
137 if (!DestType->isRealType() || !SubType->isIntegerType()) in isLossOfPrecision()
140 const bool isFloat = DestType->isFloatingType(); in isLossOfPrecision()
149 const llvm::fltSemantics &Sema = AC.getFloatTypeSemantics(DestType); in isLossOfPrecision()
152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
157 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
H A DNullabilityChecker.cpp975 QualType DestType = CE->getType(); in checkPostStmt() local
978 if (!DestType->isAnyPointerType()) in checkPostStmt()
985 Nullability DestNullability = getNullabilityAnnotation(DestType); in checkPostStmt()
H A DDynamicTypePropagation.cpp619 QualType DestType = CE->getType(); in checkPostStmt() local
622 const auto *DestObjectPtrType = DestType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp96 if (auto *DestType = dyn_cast<FunctionType>( in runOnModule() local
100 NewType = DestType; in runOnModule()
102 } else if (NewType != DestType) { in runOnModule()
106 LLVM_DEBUG(dbgs() << " " << *DestType << "\n"); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprComplex.cpp86 QualType DestType, SourceLocation Loc);
89 QualType DestType, SourceLocation Loc);
428 QualType DestType, in EmitComplexToComplexCast() argument
432 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
438 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); in EmitComplexToComplexCast()
440 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); in EmitComplexToComplexCast()
446 QualType DestType, in EmitScalarToComplexCast() argument
449 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
450 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); in EmitScalarToComplexCast()
H A DCGExprConstant.cpp1760 QualType DestType; member in __anon411c9adc0a11::ConstantLValueEmitter
1768 : CGM(emitter.CGM), Emitter(emitter), Value(value), DestType(destType) {} in ConstantLValueEmitter()
1828 auto destTy = CGM.getTypes().ConvertTypeForMem(DestType); in tryEmit()
1865 return CGM.getNullPointer(destPtrTy, DestType); in tryEmitAbsolute()
2035 QualType DestType) { in tryEmitPrivate() argument
2040 return llvm::UndefValue::get(CGM.getTypes().ConvertType(DestType)); in tryEmitPrivate()
2042 return ConstantLValueEmitter(*this, Value, DestType).tryEmit(); in tryEmitPrivate()
2107 llvm::Type *ResultType = CGM.getTypes().ConvertType(DestType); in tryEmitPrivate()
2119 return ConstStructBuilder::BuildStruct(*this, Value, DestType); in tryEmitPrivate()
2121 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
[all …]
H A DCGStmtOpenMP.cpp5316 QualType SrcType, QualType DestType, in convertToScalarValue() argument
5318 assert(CGF.hasScalarEvaluationKind(DestType) && in convertToScalarValue()
5322 DestType, Loc) in convertToScalarValue()
5324 Val.getComplexVal(), SrcType, DestType, Loc); in convertToScalarValue()
5329 QualType DestType, SourceLocation Loc) { in convertToComplexValue() argument
5330 assert(CGF.getEvaluationKind(DestType) == TEK_Complex && in convertToComplexValue()
5336 DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
5345 DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
H A DCGAtomic.cpp1047 auto *DestType = T->getPointerElementType()->getPointerTo(DestAS); in EmitAtomicExpr() local
1050 *this, V, AS, LangAS::opencl_generic, DestType, false); in EmitAtomicExpr()
H A DCGBuiltin.cpp704 llvm::Type *DestType = Int8PtrTy; in EmitVAStartEnd() local
705 if (ArgValue->getType() != DestType) in EmitVAStartEnd()
707 Builder.CreateBitCast(ArgValue, DestType, ArgValue->getName().data()); in EmitVAStartEnd()
7974 llvm::Type *DestType) { in ARMMVEVectorReinterpret() argument
7987 V->getType()->getScalarSizeInBits() != DestType->getScalarSizeInBits()) { in ARMMVEVectorReinterpret()
7990 {DestType, V->getType()}), in ARMMVEVectorReinterpret()
7993 return Builder.CreateBitCast(V, DestType); in ARMMVEVectorReinterpret()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp483 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt() local
484 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) in foldVecTruncToExtElt()
497 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
506 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
507 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
1884 Type *DestType = FI.getType(); in foldItoFPtoI() local
1899 int OutputSize = (int)DestType->getScalarSizeInBits() - IsOutputSigned; in foldItoFPtoI()
1904 if (DestType->getScalarSizeInBits() > XType->getScalarSizeInBits()) { in foldItoFPtoI()
1907 return new SExtInst(X, DestType); in foldItoFPtoI()
1908 return new ZExtInst(X, DestType); in foldItoFPtoI()
[all …]
H A DInstCombineVectorOps.cpp2013 Type *DestType = Shuf.getType(); in foldTruncShuffle() local
2016 !match(Shuf.getOperand(1), m_Undef()) || !DestType->isIntOrIntVectorTy()) in foldTruncShuffle()
2024 cast<FixedVectorType>(DestType)->getNumElements() || in foldTruncShuffle()
2025 SrcType->getScalarSizeInBits() % DestType->getScalarSizeInBits() != 0) in foldTruncShuffle()
2034 SrcType->getScalarSizeInBits() / DestType->getScalarSizeInBits(); in foldTruncShuffle()
2045 return new TruncInst(X, DestType); in foldTruncShuffle()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DOverload.h686 QualType DestType, in getNullptrToBool() argument
696 ICS.Standard.setToType(1, DestType); in getNullptrToBool()
697 ICS.Standard.setToType(2, DestType); in getNullptrToBool()
H A DSema.h3700 QualType DestType = QualType(), bool TakingAddress = false);
3704 void NoteAllOverloadCandidates(Expr *E, QualType DestType = QualType(),
6038 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
9818 QualType DestType, QualType SrcType,
9826 QualType DestType, QualType SrcType,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprCXX.cpp768 QualType DestType = getType(); in isAlwaysNull() local
772 DestType = DestType->castAs<PointerType>()->getPointeeType(); in isAlwaysNull()
775 if (DestType->isVoidType()) in isAlwaysNull()
785 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
H A DExprConstant.cpp2517 const T &SrcValue, QualType DestType) { in HandleOverflow() argument
2519 << SrcValue << DestType; in HandleOverflow()
2525 QualType DestType, APSInt &Result) { in HandleFloatToIntCast() argument
2526 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
2528 bool DestSigned = DestType->isSignedIntegerOrEnumerationType(); in HandleFloatToIntCast()
2534 return HandleOverflow(Info, E, Value, DestType); in HandleFloatToIntCast()
2596 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument
2604 St = Result.convert(Info.Ctx.getFloatTypeSemantics(DestType), RM, &ignored); in HandleFloatToFloatCast()
2609 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument
2611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp873 RangeSet inferAs(SymbolRef Sym, QualType DestType) { in inferAs() argument
882 return infer(DestType); in inferAs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1871 LLT DestType = MRI.getType(MI.getOperand(0).getReg()); in applyShiftOfShiftedLogic() local
1878 Builder.buildInstr(Opcode, {DestType}, {Shift1Base, Const}).getReg(0); in applyShiftOfShiftedLogic()
1882 .buildInstr(Opcode, {DestType}, in applyShiftOfShiftedLogic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1699 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert() local
1700 Align DestAlign = DAG.getDataLayout().getPrefTypeAlign(DestType); in EmitStackConvert()