/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMRegisterBankInfo.cpp | 294 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 296 if (ToTy.getSizeInBits() == 64 && FromTy.getSizeInBits() == 32) in getInstrMapping() 303 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 305 if (ToTy.getSizeInBits() == 32 && FromTy.getSizeInBits() == 64) in getInstrMapping() 313 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 316 ToTy.getSizeInBits() == 32) in getInstrMapping() 327 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() local 330 (ToTy.getSizeInBits() == 32 || ToTy.getSizeInBits() == 64)) in getInstrMapping() 332 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-7.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 416 Value *Float2IntPass::convert(Instruction *I, Type *ToTy) { in convert() argument 428 NewOperands.push_back(convert(VI, ToTy)); in convert() 430 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false); in convert() 435 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert() 463 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert() 467 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt() local 42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
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/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()
|
D | SymbolManager.cpp | 62 os << '(' << ToTy.getAsString() << ") ("; in dumpToStream()
|
/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/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 53 const QualType ToTy, in tryToFixConversion() argument 59 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
|
D | SemaOverload.cpp | 9081 QualType ToTy = Conv.Bad.getToType(); in DiagnoseBadConversion() local 9093 << ToTy << Name << I+1; in DiagnoseBadConversion() 9101 CanQualType CToTy = S.Context.getCanonicalType(ToTy); in DiagnoseBadConversion() 9184 << FromTy << ToTy << (unsigned) isObjectArgument << I+1; in DiagnoseBadConversion() 9200 << FromTy << ToTy << (unsigned) isObjectArgument << I+1 in DiagnoseBadConversion() 9210 if (const PointerType *ToPtrTy = ToTy->getAs<PointerType>()) { in DiagnoseBadConversion() 9222 = ToTy->getAs<ObjCObjectPointerType>()) in DiagnoseBadConversion() 9229 } else if (const ReferenceType *ToRefTy = ToTy->getAs<ReferenceType>()) { in DiagnoseBadConversion() 9235 } else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() && in DiagnoseBadConversion() 9236 ToTy.getNonReferenceType().getCanonicalType() == in DiagnoseBadConversion() [all …]
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | Float2Int.h | 41 Value *convert(Instruction *I, Type *ToTy);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | Float2Int.h | 41 Value *convert(Instruction *I, Type *ToTy);
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1799 Type *ToTy) { in isBitCastSemanticsPreserving() argument 1801 if (FromTy == ToTy) in isBitCastSemanticsPreserving() 1805 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) { in isBitCastSemanticsPreserving() 1806 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy); in isBitCastSemanticsPreserving() 1808 !DL.isNonIntegralPointerType(ToTy); in isBitCastSemanticsPreserving() 1825 Type *ToTy = To.getType(); in replaceAllDbgUsesWith() local 1834 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy)) in replaceAllDbgUsesWith() 1839 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) { in replaceAllDbgUsesWith() 1841 uint64_t ToBits = ToTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1652 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const { in isTruncateFree() argument 1661 virtual bool allowTruncateForTailCall(Type *FromTy, Type *ToTy) const { in allowTruncateForTailCall() argument 1708 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const { in isZExtFree() argument 1712 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const { in isZExtFree() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 2062 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const { in isTruncateFree() argument 2071 virtual bool allowTruncateForTailCall(Type *FromTy, Type *ToTy) const { in allowTruncateForTailCall() argument 2148 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const { in isZExtFree() argument 2152 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const { in isZExtFree() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 65 auto setPromoteTo = [this] (unsigned Opc, MVT FromTy, MVT ToTy) { in initializeHVXLowering() argument 67 AddPromotedToType(Opc, FromTy, ToTy); in initializeHVXLowering()
|