Home
last modified time | relevance | path

Searched refs:SourceType (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp162 QualType SourceType = BaseClassRegion->getValueType(); in checkTypedDeleteExpr() local
168 << SourceType.getAsString(C.getASTContext().getPrintingPolicy()) in checkTypedDeleteExpr()
192 QualType SourceType = CastE->getSubExpr()->getType()->getPointeeType(); in VisitNode() local
195 if (SourceType.isNull() || TargetType.isNull() || SourceType == TargetType) in VisitNode()
210 OS << "Casting from '" << SourceType.getAsString() << "' to '" in VisitNode()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp.h4823 template <typename SourceType, typename TargetType,
4824 bool isSourceSmaller = (sizeof(SourceType) < sizeof(TargetType)),
4825 bool isSourceEqual = (sizeof(SourceType) == sizeof(TargetType)),
4826 bool isSourceSigned = std::is_signed<SourceType>::value,
4831 template <typename SourceType, typename TargetType>
4832 struct kmp_convert<SourceType, TargetType, true, false, true, true> {
4833 static TargetType to(SourceType src) { return (TargetType)src; }
4836 template <typename SourceType, typename TargetType>
4837 struct kmp_convert<SourceType, TargetType, false, true, true, true> {
4838 static TargetType to(SourceType src) { return src; }
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp650 QualType SourceType, in authPointerToPointerCast() argument
653 if (SourceType->isSignableType(getContext())) in authPointerToPointerCast()
654 CurAuthInfo = getPointerAuthInfoForType(CGM, SourceType); in authPointerToPointerCast()
665 CurAuthInfo = CGM.getFunctionPointerAuthInfo(SourceType); in authPointerToPointerCast()
667 if (!NewAuthInfo && SourceType->isFunctionPointerType()) in authPointerToPointerCast()
675 QualType SourceType, in authPointerToPointerCast() argument
678 if (SourceType->isSignableType(getContext())) in authPointerToPointerCast()
679 CurAuthInfo = getPointerAuthInfoForType(CGM, SourceType); in authPointerToPointerCast()
691 Ptr.setPointerAuthInfo(CGM.getFunctionPointerAuthInfo(SourceType)); in authPointerToPointerCast()
695 if (!NewAuthInfo && SourceType->isFunctionPointerType()) { in authPointerToPointerCast()
H A DCodeGenFunction.h4621 QualType SourceType, QualType DestType);
4622 Address authPointerToPointerCast(Address Ptr, QualType SourceType,
H A DCGStmtOpenMP.cpp6558 QualType SourceType, QualType ResType, in convertToType() argument
6563 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType()
6565 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizePointerCast.cpp75 Value *loadVectorFromVector(IRBuilder<> &B, FixedVectorType *SourceType, in loadVectorFromVector() argument
78 assert(TargetType->getElementType() == SourceType->getElementType()); in loadVectorFromVector()
79 assert(TargetType->getNumElements() < SourceType->getNumElements()); in loadVectorFromVector()
81 LoadInst *NewLoad = B.CreateLoad(SourceType, Source); in loadVectorFromVector()
82 buildAssignType(B, SourceType, NewLoad); in loadVectorFromVector()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp125 Type *SourceType, ArrayRef<const Value *> Index, const DataLayout &DL, in accumulateConstantOffset() argument
128 if (SourceType->isIntegerTy(8) && !Index.empty() && !ExternalAnalysis) { in accumulateConstantOffset()
160 SourceType, Index.begin()); in accumulateConstantOffset()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DDisasm.cpp566 QualType SourceType; in dump() local
569 SourceType = VD->getType(); in dump()
571 SourceType = E->getType(); in dump()
576 P->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
578 FP->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
H A DDescriptor.cpp343 : Source(D), SourceType(SourceTy), ElemSize(primSize(Type)), Size(ElemSize), in Descriptor()
383 : Source(D), SourceType(SourceTy), in Descriptor()
425 if (SourceType) in getType()
426 return QualType(SourceType, 0); in getType()
H A DDescriptor.h130 const Type *SourceType = nullptr; member
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp4743 QualType &SourceType, in ResolveOverloadedFunctionForReferenceBinding() argument
4758 SourceType = Fn->getType(); in ResolveOverloadedFunctionForReferenceBinding()
4759 UnqualifiedSourceType = SourceType.getUnqualifiedType(); in ResolveOverloadedFunctionForReferenceBinding()
6088 QualType SourceType = Initializer->getType(); in TryUserDefinedConversion() local
6089 assert((DestType->isRecordType() || SourceType->isRecordType()) && in TryUserDefinedConversion()
6135 if (const RecordType *SourceRecordType = SourceType->getAs<RecordType>()) { in TryUserDefinedConversion()
6141 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion()
6593 QualType SourceType; in InitializeFrom() local
6605 SourceType = Initializer->getType(); in InitializeFrom()
6823 (Context.hasSameUnqualifiedType(SourceType, DestType) || in InitializeFrom()
[all …]
H A DSemaChecking.cpp11655 static void DiagnoseImpCast(Sema &S, const Expr *E, QualType SourceType, in DiagnoseImpCast() argument
11662 if (SourceType.hasAddressSpace()) in DiagnoseImpCast()
11663 SourceType = S.getASTContext().removeAddrSpaceQualType(SourceType); in DiagnoseImpCast()
11669 << SourceType << T << E->getSourceRange() in DiagnoseImpCast()
11674 << SourceType << T << E->getSourceRange() << SourceRange(CContext); in DiagnoseImpCast()
12581 QualType SourceType = E->getEnumCoercedType(Context); in CheckImplicitConversion() local
12582 const BuiltinType *CoercedSourceBT = SourceType->getAs<BuiltinType>(); in CheckImplicitConversion()
12589 Source = Context.getCanonicalType(SourceType).getTypePtr(); in CheckImplicitConversion()
12599 return DiagnoseImpCast(*this, E, SourceType, T, CC, in CheckImplicitConversion()
H A DSemaDeclCXX.cpp13369 const Type *SourceType = UD->getQualifier()->getAsType(); in CheckInheritingConstructorUsingDecl() local
13370 assert(SourceType && in CheckInheritingConstructorUsingDecl()
13376 auto *Base = findDirectBaseWithType(TargetClass, QualType(SourceType, 0), in CheckInheritingConstructorUsingDecl()
13382 << QualType(SourceType, 0) << TargetClass; in CheckInheritingConstructorUsingDecl()
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DRandomIRBuilder.h61 enum SourceType { enum
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h820 static ImplicitConversionSequence getNullptrToBool(QualType SourceType, in getNullptrToBool() argument
826 ICS.Standard.setFromType(SourceType); in getNullptrToBool()
829 ICS.Standard.setToType(0, SourceType); in getNullptrToBool()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h543 Type *SourceType, ArrayRef<const Value *> Index, const DataLayout &DL,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp810 Type *SourceType = V->getType(); in makeLegalNonAggregate() local
811 TypeSize SourceSize = DL.getTypeSizeInBits(SourceType); in makeLegalNonAggregate()
819 SourceType = ByteScalarTy; in makeLegalNonAggregate()
/freebsd/sys/contrib/dev/acpica/include/
H A Dactbl1.h357 UINT8 SourceType; member
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbinfo1.c486 {ACPI_DMT_UINT8, ACPI_ASF1a_OFFSET (SourceType), "SourceType", 0},
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp1211 template <class SourceType>
1213 SourceType Origin) { in inferRange()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp23959 EVT SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec() local
23972 SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec()
23980 if (SourceType == MVT::Other) in reduceBuildVecExtToExtBuildVec()
23982 SourceType = InTy; in reduceBuildVecExtToExtBuildVec()
23983 else if (InTy != SourceType) { in reduceBuildVecExtToExtBuildVec()
23985 SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec()
23998 SourceType != MVT::Other && in reduceBuildVecExtToExtBuildVec()
24000 llvm::has_single_bit<uint32_t>(SourceType.getSizeInBits()); in reduceBuildVecExtToExtBuildVec()
24013 unsigned ElemRatio = OutScalarTy.getSizeInBits()/SourceType.getSizeInBits(); in reduceBuildVecExtToExtBuildVec()
24015 SDValue Filler = AllAnyExt ? DAG.getUNDEF(SourceType): in reduceBuildVecExtToExtBuildVec()
[all …]