Searched refs:fromType (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ExpectedTypeTest.cpp | 68 auto Type = OpaqueType::fromType(astCtx(), typeOf(Name)); in buildEquivClasses() 143 OpaqueType IntTy = *OpaqueType::fromType(astCtx(), typeOf("int_")); in TEST_F() 146 OpaqueType IntPtrTy = *OpaqueType::fromType(astCtx(), typeOf("int_ptr")); in TEST_F() 165 auto IntPtrTy = *OpaqueType::fromType(astCtx(), typeOf("int_ptr_")); in TEST_F()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | MemoryPromotion.cpp | 124 auto fromType = from.getType().cast<MemRefType>(); in insertCopies() local 126 (void)fromType; in insertCopies() 128 assert(fromType.getShape() == toType.getShape()); in insertCopies() 129 assert(fromType.getRank() != 0); in insertCopies()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ExpectedTypes.h | 41 static llvm::Optional<OpaqueType> fromType(ASTContext &Ctx, QualType Type);
|
| H A D | ExpectedTypes.cpp | 80 llvm::Optional<OpaqueType> OpaqueType::fromType(ASTContext &Ctx, in fromType() function in clang::clangd::OpaqueType
|
| H A D | CodeComplete.cpp | 1646 OpaqueType::fromType(Recorder->CCSema->getASTContext(), in runWithSema()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/ |
| H A D | MemRefOps.cpp | 656 auto fromType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite() local 659 if (fromType && toType) { in matchAndRewrite() 660 if (fromType.getShape() == toType.getShape() && in matchAndRewrite() 661 fromType.getElementType() == toType.getElementType()) { in matchAndRewrite() 672 auto fromType = castOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite() local 675 if (fromType && toType) { in matchAndRewrite() 676 if (fromType.getShape() == toType.getShape() && in matchAndRewrite() 677 fromType.getElementType() == toType.getElementType()) { in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | tools.cpp | 665 if (auto fromType{x.GetType()}) { in ConvertToType() local 666 if (type.IsTkCompatibleWith(*fromType)) { in ConvertToType() 1076 if (auto fromType{expr.GetType()}) { in DataConstantConversionExtension() local 1078 fromType->category() == TypeCategory::Integer) { in DataConstantConversionExtension() 1083 fromType->category() == TypeCategory::Logical) { in DataConstantConversionExtension()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelDAGToDAG.cpp | 889 unsigned int fromType; in tryLoad() local 900 fromType = NVPTX::PTXLdStInstCode::Signed; in tryLoad() 903 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad() 906 fromType = NVPTX::PTXLdStInstCode::Unsigned; in tryLoad() 924 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad() 936 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad() 954 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad() 972 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 783 Type fromType = operation.operand().getType(); in matchAndRewrite() local 790 if (getBitWidth(fromType) < getBitWidth(toType)) { in matchAndRewrite() 795 if (getBitWidth(fromType) > getBitWidth(toType)) { in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 8985 QualType fromType = op->getType(); in emitBadConversionNotes() local 8986 QualType fromPointeeType = fromType.getCanonicalType()->getPointeeType(); in emitBadConversionNotes() 8988 auto *fromDecl = fromType->getPointeeCXXRecordDecl(); in emitBadConversionNotes()
|