/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Casting.h | 128 template<typename To, typename FromTy> 129 struct isa_impl_wrap<To, FromTy, FromTy> { 131 static bool doit(const FromTy &Val) { 132 return isa_impl_cl<To,FromTy>::doit(Val); 201 template<class To, class FromTy> 202 struct cast_retty_wrap<To, FromTy, FromTy> { 204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type; 225 template<class To, class FromTy> struc [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaFixItUtils.h | 51 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy, 57 /// type FromTy can be converted to ToTy. For example, one could check if
|
H A D | Overload.h | 479 void *FromTy; 497 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } 505 void setFromType(QualType T) { FromTy = T.getAsOpaquePtr(); }
|
H A D | Sema.h | 1647 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SMTConv.h | 258 /// Construct an SMTSolverRef from a QualType FromTy to a QualType ToTy, 263 QualType FromTy, 265 if ((FromTy->isIntegralOrEnumerationType() && 267 (FromTy->isAnyPointerType() ^ ToTy->isAnyPointerType()) || 268 (FromTy->isBlockPointerType() ^ ToTy->isBlockPointerType()) || 269 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { 271 if (FromTy->isBooleanType()) { 279 return FromTy->isSignedIntegerOrEnumerationType() 290 if (FromTy->isRealFloatingType() && ToTy->isRealFloatingType()) { 297 if (FromTy 260 fromCast(llvm::SMTSolverRef &Solver, const llvm::SMTExprRef &Exp, QualType ToTy, uint64_t ToBitWidth, QualType FromTy, uint64_t FromBitWidth) argument 313 castAPSInt(llvm::SMTSolverRef &Solver, const llvm::APSInt &V, QualType ToTy, uint64_t ToWidth, QualType FromTy, uint64_t FromWidth) argument 330 getCastExpr(llvm::SMTSolverRef &Solver, ASTContext &Ctx, const llvm::SMTExprRef &Exp, QualType FromTy, QualType ToTy) argument 433 QualType FromTy; local 507 QualType FromTy; local [all...] |
H A D | SymbolManager.h | 258 QualType FromTy; member in class:clang::ento::SymbolCast 265 : SymExpr(SymbolCastKind), Operand(In), FromTy(From), ToTy(To) { 293 Profile(ID, Operand, FromTy, ToTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMRegisterBankInfo.cpp | 315 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); local 316 if (ToTy.getSizeInBits() == 64 && FromTy.getSizeInBits() == 32) 324 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); local 325 if (ToTy.getSizeInBits() == 32 && FromTy.getSizeInBits() == 64) 334 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); local 335 if ((FromTy.getSizeInBits() == 32 || FromTy.getSizeInBits() == 64) && 338 FromTy.getSizeInBits() == 64 348 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); local 349 if (FromTy [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclBase.h | 2533 template<class FromTy> 2534 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> { 2535 static ::clang::DeclContext &doit(const FromTy &Val) { 2536 return *FromTy::castToDeclContext(&Val); 2540 template<class FromTy> 2541 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> { 2542 static ::clang::DeclContext *doit(const FromTy *Val) { 2543 return FromTy [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 51 const QualType FromTy, 57 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); 50 tryToFixConversion(const Expr *FullExpr, const QualType FromTy, const QualType ToTy, Sema &S) argument
|
H A D | SemaOverload.cpp | 10161 QualType FromTy = Conv.Bad.getFromType(); 10164 if (FromTy == S.Context.OverloadTy) { 10181 CanQualType CFromTy = S.Context.getCanonicalType(FromTy); 10218 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10228 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10238 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10250 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10255 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10267 << (FromExpr ? FromExpr->getSourceRange() : SourceRange()) << FromTy 10276 QualType TempFromTy = FromTy [all...] |
H A D | SemaType.cpp | 5545 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { argument 5552 Qualifiers::ObjCLifetime ownership = Context.getInnerObjCOwnership(FromTy);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 457 QualType FromTy) { 458 while (Context.UnwrapSimilarTypes(ToTy, FromTy)) { 461 FromTy = Context.getUnqualifiedArrayType(FromTy, Quals2); 480 if (ToTy != FromTy) 456 shouldBeModeledWithNoOp(ASTContext &Context, QualType ToTy, QualType FromTy) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 1815 /// Check if a bitcast between a value of type \p FromTy to type \p ToTy would 1817 /// symmetric, i.e swapping \p FromTy and \p ToTy should give the same result. 1822 static bool isBitCastSemanticsPreserving(const DataLayout &DL, Type *FromTy, argument 1825 if (FromTy == ToTy) 1829 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) { 1830 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy); 1831 bool LosslessConversion = !DL.isNonIntegralPointerType(FromTy) && 1848 Type *FromTy = From.getType(); local 1858 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy)) 1863 if (FromTy [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 2294 /// Return true if it's free to truncate a value of type FromTy to type 2297 /// Targets must return false when FromTy <= ToTy. 2298 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const { 2302 /// Return true if a truncation from FromTy to ToTy is permitted when deciding 2306 /// tail call. Targets must return false when FromTy <= ToTy. 2307 virtual bool allowTruncateForTailCall(Type *FromTy, Type *ToTy) const { 2374 /// Return true if any actual instruction that defines a value of type FromTy 2378 /// be freely folded with an instruction defining a value of FromTy. If 2383 /// Targets must return false when FromTy >= ToTy. 2384 virtual bool isZExtFree(Type *FromTy, Typ argument 2388 isZExtFree(EVT FromTy, EVT ToTy) const argument 2394 isSExtCheaperThanZExt(EVT FromTy, EVT ToTy) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DIBuilder.h | 201 /// \param FromTy Base Type. 202 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 268 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { argument 269 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, FromTy, 0,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 64 auto setPromoteTo = [this] (unsigned Opc, MVT FromTy, MVT ToTy) { 65 setOperationAction(Opc, FromTy, Promote); 66 AddPromotedToType(Opc, FromTy, ToTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.cpp | 795 const DIType *FromTy = DTy->getBaseType(); local 796 if (FromTy) 797 addType(Buffer, FromTy);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporter.cpp | 3107 QualType FromTy = D->getType(); local 3108 const FunctionProtoType *FromFPT = FromTy->getAs<FunctionProtoType>(); 3256 QualType FromTy = D->getType(); 3263 if (const auto *FromFPT = FromTy->getAs<FunctionProtoType>()) { 3286 FromTy = Importer.getFromContext().getFunctionType( 3296 FromTy, D->getTypeSourceInfo(), D->getInnerLocStart(), 8107 const Type *FromTy = FromT.getTypePtr(); local 8111 = ImportedTypes.find(FromTy); 8117 ExpectedType ToTOrErr = Importer.Visit(FromTy); 8122 ImportedTypes[FromTy] [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 851 auto *FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit); local 855 return DBuilder.createQualifiedType(Tag, FromTy); 2780 auto *FromTy = getOrCreateType(Ty->getValueType(), U); local 2781 return DBuilder.createQualifiedType(llvm::dwarf::DW_TAG_atomic_type, FromTy);
|