/external/clang/include/clang/AST/ |
D | DeclBase.h | 1827 template <class ToTy, 1828 bool IsKnownSubtype = ::std::is_base_of<DeclContext, ToTy>::value> 1830 static const ToTy *doit(const DeclContext *Val) { in doit() 1831 return static_cast<const ToTy*>(Decl::castFromDeclContext(Val)); in doit() 1834 static ToTy *doit(DeclContext *Val) { in doit() 1835 return static_cast<ToTy*>(Decl::castFromDeclContext(Val)); in doit() 1840 template <class ToTy> 1841 struct cast_convert_decl_context<ToTy, true> { 1842 static const ToTy *doit(const DeclContext *Val) { 1843 return static_cast<const ToTy*>(Val); [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 2495 template <class ToTy, 2496 bool IsKnownSubtype = ::std::is_base_of<DeclContext, ToTy>::value> 2498 static const ToTy *doit(const DeclContext *Val) { in doit() 2499 return static_cast<const ToTy*>(Decl::castFromDeclContext(Val)); in doit() 2502 static ToTy *doit(DeclContext *Val) { in doit() 2503 return static_cast<ToTy*>(Decl::castFromDeclContext(Val)); in doit() 2508 template <class ToTy> 2509 struct cast_convert_decl_context<ToTy, true> { 2510 static const ToTy *doit(const DeclContext *Val) { 2511 return static_cast<const ToTy*>(Val); [all …]
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SMTConv.h | 262 QualType ToTy, uint64_t ToBitWidth, in fromCast() argument 266 ToTy->isIntegralOrEnumerationType()) || in fromCast() 267 (FromTy->isAnyPointerType() ^ ToTy->isAnyPointerType()) || in fromCast() 268 (FromTy->isBlockPointerType() ^ ToTy->isBlockPointerType()) || in fromCast() 269 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast() 290 if (FromTy->isRealFloatingType() && ToTy->isRealFloatingType()) { in fromCast() 297 if (FromTy->isIntegralOrEnumerationType() && ToTy->isRealFloatingType()) { in fromCast() 304 if (FromTy->isRealFloatingType() && ToTy->isIntegralOrEnumerationType()) in fromCast() 305 return ToTy->isSignedIntegerOrEnumerationType() in fromCast() 314 const llvm::APSInt &V, QualType ToTy, in castAPSInt() argument [all …]
|
D | SymbolManager.h | 271 QualType ToTy; variable 275 : SymExpr(SymbolCastKind), Operand(In), FromTy(From), ToTy(To) { in SymbolCast() 288 QualType getType() const override { return ToTy; } in getType() 303 Profile(ID, Operand, FromTy, ToTy); in Profile()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMRegisterBankInfo.cpp | 316 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 318 if (ToTy.getSizeInBits() == 64 && FromTy.getSizeInBits() == 32) in getInstrMapping() 325 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 327 if (ToTy.getSizeInBits() == 32 && FromTy.getSizeInBits() == 64) in getInstrMapping() 335 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 338 ToTy.getSizeInBits() == 32) in getInstrMapping() 349 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 352 (ToTy.getSizeInBits() == 32 || ToTy.getSizeInBits() == 64)) in getInstrMapping() 354 ToTy.getSizeInBits() == 64 in getInstrMapping()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMRegisterBankInfo.cpp | 314 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 316 if (ToTy.getSizeInBits() == 64 && FromTy.getSizeInBits() == 32) in getInstrMapping() 323 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 325 if (ToTy.getSizeInBits() == 32 && FromTy.getSizeInBits() == 64) in getInstrMapping() 333 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 336 ToTy.getSizeInBits() == 32) in getInstrMapping() 347 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 350 (ToTy.getSizeInBits() == 32 || ToTy.getSizeInBits() == 64)) in getInstrMapping() 352 ToTy.getSizeInBits() == 64 in getInstrMapping()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 430 Value *Float2IntPass::convert(Instruction *I, Type *ToTy) { in convert() argument 442 NewOperands.push_back(convert(VI, ToTy)); in convert() 444 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false); in convert() 449 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert() 477 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert() 481 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 437 Value *Float2IntPass::convert(Instruction *I, Type *ToTy) { in convert() argument 449 NewOperands.push_back(convert(VI, ToTy)); in convert() 451 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert() 456 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert() 484 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert() 488 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 436 Value *Float2IntPass::convert(Instruction *I, Type *ToTy) { in convert() argument 448 NewOperands.push_back(convert(VI, ToTy)); in convert() 450 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert() 455 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert() 483 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert() 487 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr() local 46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
|
D | CastSizeChecker.cpp | 92 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt() local 93 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 405 static bool shouldBeModeledWithNoOp(ASTContext &Context, QualType ToTy, in shouldBeModeledWithNoOp() argument 407 while (Context.UnwrapSimilarPointerTypes(ToTy, FromTy)) { in shouldBeModeledWithNoOp() 409 ToTy = Context.getUnqualifiedArrayType(ToTy, Quals1); in shouldBeModeledWithNoOp() 422 if (ToTy->isVoidType()) in shouldBeModeledWithNoOp() 425 if (ToTy != FromTy) in shouldBeModeledWithNoOp()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 91 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt() local 92 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 465 static bool shouldBeModeledWithNoOp(ASTContext &Context, QualType ToTy, in shouldBeModeledWithNoOp() argument 467 while (Context.UnwrapSimilarTypes(ToTy, FromTy)) { in shouldBeModeledWithNoOp() 469 ToTy = Context.getUnqualifiedArrayType(ToTy, Quals1); in shouldBeModeledWithNoOp() 486 if (ToTy->isVoidType()) in shouldBeModeledWithNoOp() 489 if (ToTy != FromTy) in shouldBeModeledWithNoOp()
|
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
D | Float2Int.h | 42 Value *convert(Instruction *I, Type *ToTy);
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | Float2Int.h | 41 Value *convert(Instruction *I, Type *ToTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | Float2Int.h | 42 Value *convert(Instruction *I, Type *ToTy);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | SemaFixItUtils.h | 52 const CanQualType ToTy,
|
D | Overload.h | 484 void *ToTy; member 500 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); } in getToType() 508 void setToType(QualType T) { ToTy = T.getAsOpaquePtr(); } in setToType()
|
/external/clang/include/clang/Sema/ |
D | SemaFixItUtils.h | 53 const CanQualType ToTy,
|
D | Overload.h | 347 void *ToTy; member 362 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); } in getToType() 369 void setToType(QualType T) { ToTy = T.getAsOpaquePtr(); } in setToType()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 53 const QualType ToTy, in tryToFixConversion() argument 59 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 52 const QualType ToTy, in tryToFixConversion() argument 58 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 232 QualType ToTy; variable 236 SymExpr(SymbolCastKind), Operand(In), FromTy(From), ToTy(To) { } in SymbolCast() 238 QualType getType() const override { return ToTy; } in getType() 253 Profile(ID, Operand, FromTy, ToTy); in Profile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1823 Type *ToTy) { in isBitCastSemanticsPreserving() argument 1825 if (FromTy == ToTy) in isBitCastSemanticsPreserving() 1829 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) { in isBitCastSemanticsPreserving() 1830 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy); in isBitCastSemanticsPreserving() 1832 !DL.isNonIntegralPointerType(ToTy); in isBitCastSemanticsPreserving() 1849 Type *ToTy = To.getType(); in replaceAllDbgUsesWith() local 1858 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy)) in replaceAllDbgUsesWith() 1863 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) { in replaceAllDbgUsesWith() 1865 uint64_t ToBits = ToTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith()
|