Home
last modified time | relevance | path

Searched refs:TargetType (Results 1 – 20 of 20) sorted by relevance

/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h170 APSIntType TargetType(To); in Convert()
171 if (TargetType == APSIntType(From)) in Convert()
174 return getValue(TargetType.convert(From)); in Convert()
178 APSIntType TargetType = getAPSIntType(T); in Convert() local
179 return Convert(TargetType, From); in Convert()
182 const llvm::APSInt &Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert() argument
183 if (TargetType == APSIntType(From)) in Convert()
186 return getValue(TargetType.convert(From)); in Convert()
H A DSMTConv.h317 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt()
318 return TargetType.convert(V); in castAPSInt()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp318 QualType TargetType) { in evalBaseToDerived() argument
324 TargetType = TargetType->getPointeeType(); in evalBaseToDerived()
325 assert(!TargetType.isNull()); in evalBaseToDerived()
326 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in evalBaseToDerived()
327 if (!TargetClass && !TargetType->isVoidType()) in evalBaseToDerived()
340 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalBaseToDerived()
356 if (TargetType->isVoidType()) in evalBaseToDerived()
389 return loc::MemRegionVal(GetElementZeroRegion(SR, TargetType)); in evalBaseToDerived()
/openbsd/gnu/llvm/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp220 auto TargetType = guessType(Filename, &TypeCertain); in transferTo() local
222 if ((!TargetType || !TypeCertain) && Type) { in transferTo()
225 TargetType = in transferTo()
226 (!TargetType || types::onlyPrecompileType(TargetType)) // header? in transferTo()
230 const StringRef Flag = toCLFlag(TargetType); in transferTo()
235 Result.CommandLine.push_back(types::getTypeName(TargetType)); in transferTo()
240 if (Std != LangStandard::lang_unspecified && foldType(TargetType) == Type) { in transferTo()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp677 Type *TargetType = CE->getType()->isPointerTy() in cloneConstantExprWithNewAddressSpace() local
688 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
693 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
694 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
704 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace()
705 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace()
713 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace()
750 return CE->getWithOperands(NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
754 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp2117 SPIRVType *TargetType; in lowerBuiltinType() local
2120 TargetType = getImageType(OpaqueType, AccessQual, MIRBuilder, GR); in lowerBuiltinType()
2123 TargetType = getPipeType(OpaqueType, MIRBuilder, GR); in lowerBuiltinType()
2126 TargetType = GR->getOrCreateOpTypeDeviceEvent(MIRBuilder); in lowerBuiltinType()
2129 TargetType = getSamplerType(MIRBuilder, GR); in lowerBuiltinType()
2132 TargetType = getSampledImageType(OpaqueType, MIRBuilder, GR); in lowerBuiltinType()
2135 TargetType = getNonParametrizedType(OpaqueType, TypeRecord, MIRBuilder, GR); in lowerBuiltinType()
2142 buildOpName(GR->getSPIRVTypeID(TargetType), OpaqueType->getName(), in lowerBuiltinType()
2145 return TargetType; in lowerBuiltinType()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h975 Type *TargetType = nullptr; in getGEPCost() local
983 TargetType = GTI.getIndexedType(); in getGEPCost()
998 if (isa<ScalableVectorType>(TargetType)) in getGEPCost()
1016 TargetType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()
/openbsd/gnu/llvm/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h426 TypeNode *TargetType = nullptr; member
/openbsd/gnu/llvm/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp369 TargetType->output(OB, Flags); in output()
H A DMicrosoftDemangle.cpp728 COIN->TargetType = FSN->Signature->ReturnType; in demangleEncodedSymbol()
749 if (!COIN->TargetType) { in demangleDeclarator()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1731 QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs, in TransformTemplateParmRefExpr() local
1734 if (TargetType.isNull()) in TransformTemplateParmRefExpr()
1737 QualType ExprType = TargetType.getNonLValueExprType(SemaRef.Context); in TransformTemplateParmRefExpr()
1738 if (TargetType->isRecordType()) in TransformTemplateParmRefExpr()
1742 ExprType, TargetType->isReferenceType() ? VK_LValue : VK_PRValue, in TransformTemplateParmRefExpr()
H A DSemaCoroutine.cpp1767 QualType TargetType = S.BuildReferenceType( in castForMoving() local
1771 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
H A DSemaOverload.cpp12186 const QualType& TargetType; member in __anon42b62cde1d11::AddressOfFunctionResolver
12206 const QualType &TargetType, bool Complain) in AddressOfFunctionResolver() argument
12207 : S(S), SourceExpr(SourceExpr), TargetType(TargetType), in AddressOfFunctionResolver()
12210 !!TargetType->getAs<MemberPointerType>()), in AddressOfFunctionResolver()
12319 TargetFunctionType = S.ExtractUnqualifiedFunctionType(TargetType); in ExtractUnqualifiedFunctionTypeFromTargetType()
12541 << TargetType << OvlExpr->getSourceRange(); in ComplainIsInvalidFormOfPointerToMemberFunction()
12556 << OvlExpr->getName() << TargetType; in ComplainOfInvalidConversion()
12600 QualType TargetType, in ResolveAddressOfOverloadedFunction() argument
12606 AddressOfFunctionResolver Resolver(*this, AddressOfExpr, TargetType, in ResolveAddressOfOverloadedFunction()
H A DSemaTemplateDeduction.cpp5354 bool Complain, QualType TargetType) { in getMostSpecialized() argument
5415 if (!TargetType.isNull()) in getMostSpecialized()
5416 HandleFunctionTypeMismatch(PD, FD->getType(), TargetType); in getMostSpecialized()
H A DSemaChecking.cpp13713 static void checkObjCArrayLiteral(Sema &S, QualType TargetType,
13717 checkObjCDictionaryLiteral(Sema &S, QualType TargetType,
13753 static void checkObjCArrayLiteral(Sema &S, QualType TargetType, in checkObjCArrayLiteral() argument
13758 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkObjCArrayLiteral()
13782 checkObjCDictionaryLiteral(Sema &S, QualType TargetType, in checkObjCDictionaryLiteral() argument
13787 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>(); in checkObjCDictionaryLiteral()
H A DSemaDeclCXX.cpp4715 QualType TargetType = in CastForMoving() local
4720 TargetType, ExprLoc); in CastForMoving()
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmtPrinter.cpp2074 auto TargetType = Node->getType(); in VisitCXXFunctionalCastExpr() local
2075 auto *Auto = TargetType->getContainedDeducedType(); in VisitCXXFunctionalCastExpr()
2081 TargetType.print(OS, Policy); in VisitCXXFunctionalCastExpr()
H A DExprConstant.cpp4770 const CXXRecordDecl *TargetType = TargetQT->getAsCXXRecordDecl(); in HandleBaseToDerivedCast() local
4776 if (FinalType->getCanonicalDecl() != TargetType->getCanonicalDecl()) { in HandleBaseToDerivedCast()
4783 return CastToDerivedClass(Info, E, Result, TargetType, NewEntriesSize); in HandleBaseToDerivedCast()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp3116 llvm::Type *TargetType = FnType->getParamType(I); in emitOutlinedFunctionCall() local
3118 if (!TargetType->isPointerTy()) { in emitOutlinedFunctionCall()
3126 CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(TargetArg, TargetType)); in emitOutlinedFunctionCall()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h4127 QualType TargetType,
9135 bool Complain = true, QualType TargetType = QualType());