| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| H A D | alloc_function.pass.cpp | 76 template <class TargetType, class FuncType, class AllocType> 82 TargetType target = &MemFunClass::foo; in test_MemFunClass() 85 RTTI_ASSERT(f.template target<TargetType>()); in test_MemFunClass() 86 RTTI_ASSERT(*f.template target<TargetType>() == target); in test_MemFunClass() 91 RTTI_ASSERT(f2.template target<TargetType>()); in test_MemFunClass() 92 RTTI_ASSERT(*f2.template target<TargetType>() == target); in test_MemFunClass()
|
| H A D | alloc_F.pass.cpp | 82 template <class TargetType, class FuncType, class AllocType> 87 TargetType target = &MemFunClass::foo; in test_MemFunClass() 91 assert(f2.template target<TargetType>()); in test_MemFunClass() 92 assert(*f2.template target<TargetType>() == target); in test_MemFunClass()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 164 APSIntType TargetType(To); in Convert() 165 if (TargetType == APSIntType(From)) in Convert() 168 return getValue(TargetType.convert(From)); in Convert() 172 APSIntType TargetType = getAPSIntType(T); in Convert() local 173 return Convert(TargetType, From); in Convert() 176 const llvm::APSInt &Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert() argument 177 if (TargetType == APSIntType(From)) in Convert() 180 return getValue(TargetType.convert(From)); in Convert()
|
| H A D | SMTConv.h | 317 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt() 318 return TargetType.convert(V); in castAPSInt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 317 Optional<SVal> StoreManager::evalBaseToDerived(SVal Base, QualType TargetType) { in evalBaseToDerived() argument 323 TargetType = TargetType->getPointeeType(); in evalBaseToDerived() 324 assert(!TargetType.isNull()); in evalBaseToDerived() 325 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in evalBaseToDerived() 326 if (!TargetClass && !TargetType->isVoidType()) in evalBaseToDerived() 339 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived() 355 if (TargetType->isVoidType()) in evalBaseToDerived() 388 return loc::MemRegionVal(GetElementZeroRegion(SR, TargetType)); in evalBaseToDerived()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp.h | 4414 static TargetType to(SourceType src) { return (TargetType)src; } 4424 static TargetType to(SourceType src) { 4429 return (TargetType)src; 4439 return (TargetType)src; 4447 return (TargetType)src; 4457 return (TargetType)src; 4465 static TargetType to(SourceType src) { return (TargetType)src; } 4473 return (TargetType)src; 4482 return (TargetType)src; 4490 static TargetType to(SourceType src) { return (TargetType)src; } [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 221 auto TargetType = guessType(Filename, &TypeCertain); in transferTo() local 223 if ((!TargetType || !TypeCertain) && Type) { in transferTo() 226 TargetType = in transferTo() 227 (!TargetType || types::onlyPrecompileType(TargetType)) // header? in transferTo() 231 const StringRef Flag = toCLFlag(TargetType); in transferTo() 236 Result.CommandLine.push_back(types::getTypeName(TargetType)); in transferTo() 241 if (Std != LangStandard::lang_unspecified && foldType(TargetType) == Type) { in transferTo()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 676 Type *TargetType = CE->getType()->isPointerTy() in cloneConstantExprWithNewAddressSpace() local 687 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace() 692 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace() 693 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace() 703 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace() 704 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace() 712 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace() 749 return CE->getWithOperands(NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace() 753 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 934 Type *TargetType = nullptr; in getGEPCost() local 942 TargetType = GTI.getIndexedType(); in getGEPCost() 957 if (isa<ScalableVectorType>(TargetType)) in getGEPCost() 975 TargetType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangleNodes.h | 426 TypeNode *TargetType = nullptr; member
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiate.cpp | 1480 QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs, in TransformTemplateParmRefExpr() local 1483 if (TargetType.isNull()) in TransformTemplateParmRefExpr() 1486 QualType ExprType = TargetType.getNonLValueExprType(SemaRef.Context); in TransformTemplateParmRefExpr() 1487 if (TargetType->isRecordType()) in TransformTemplateParmRefExpr() 1491 ExprType, TargetType->isReferenceType() ? VK_LValue : VK_PRValue, in TransformTemplateParmRefExpr()
|
| H A D | SemaCoroutine.cpp | 1640 QualType TargetType = S.BuildReferenceType( in castForMoving() local 1644 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
|
| H A D | SemaOverload.cpp | 12038 const QualType& TargetType; member in __anon85f2cfc11d11::AddressOfFunctionResolver 12058 const QualType &TargetType, bool Complain) in AddressOfFunctionResolver() argument 12059 : S(S), SourceExpr(SourceExpr), TargetType(TargetType), in AddressOfFunctionResolver() 12062 !!TargetType->getAs<MemberPointerType>()), in AddressOfFunctionResolver() 12171 TargetFunctionType = S.ExtractUnqualifiedFunctionType(TargetType); in ExtractUnqualifiedFunctionTypeFromTargetType() 12390 << TargetType << OvlExpr->getSourceRange(); in ComplainIsInvalidFormOfPointerToMemberFunction() 12405 << OvlExpr->getName() << TargetType; in ComplainOfInvalidConversion() 12449 QualType TargetType, in ResolveAddressOfOverloadedFunction() argument 12455 AddressOfFunctionResolver Resolver(*this, AddressOfExpr, TargetType, in ResolveAddressOfOverloadedFunction()
|
| H A D | SemaTemplateDeduction.cpp | 5236 bool Complain, QualType TargetType) { in getMostSpecialized() argument 5297 if (!TargetType.isNull()) in getMostSpecialized() 5298 HandleFunctionTypeMismatch(PD, FD->getType(), TargetType); in getMostSpecialized()
|
| H A D | SemaChecking.cpp | 13381 static void checkObjCArrayLiteral(Sema &S, QualType TargetType, 13385 checkObjCDictionaryLiteral(Sema &S, QualType TargetType, 13421 static void checkObjCArrayLiteral(Sema &S, QualType TargetType, in checkObjCArrayLiteral() argument 13426 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkObjCArrayLiteral() 13450 checkObjCDictionaryLiteral(Sema &S, QualType TargetType, in checkObjCDictionaryLiteral() argument 13455 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkObjCDictionaryLiteral()
|
| H A D | SemaDeclCXX.cpp | 4675 QualType TargetType = SemaRef.BuildReferenceType( in CastForMoving() local 4679 TargetType, ExprLoc); in CastForMoving()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangleNodes.cpp | 370 TargetType->output(OB, Flags); in output()
|
| H A D | MicrosoftDemangle.cpp | 725 COIN->TargetType = FSN->Signature->ReturnType; in demangleEncodedSymbol() 746 if (!COIN->TargetType) { in demangleDeclarator()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtPrinter.cpp | 2064 auto TargetType = Node->getType(); in VisitCXXFunctionalCastExpr() local 2065 auto *Auto = TargetType->getContainedDeducedType(); in VisitCXXFunctionalCastExpr() 2071 TargetType.print(OS, Policy); in VisitCXXFunctionalCastExpr()
|
| H A D | ExprConstant.cpp | 4768 const CXXRecordDecl *TargetType = TargetQT->getAsCXXRecordDecl(); in HandleBaseToDerivedCast() local 4774 if (FinalType->getCanonicalDecl() != TargetType->getCanonicalDecl()) { in HandleBaseToDerivedCast() 4781 return CastToDerivedClass(Info, E, Result, TargetType, NewEntriesSize); in HandleBaseToDerivedCast()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 3468 llvm::Type *TargetType = FnType->getParamType(I); in emitOutlinedFunctionCall() local 3470 if (!TargetType->isPointerTy()) { in emitOutlinedFunctionCall() 3478 CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(TargetArg, TargetType)); in emitOutlinedFunctionCall()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 4004 QualType TargetType, 8888 bool Complain = true, QualType TargetType = QualType());
|