| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | data04.f90 | 113 type newType type 116 type(newType) m2_number1 120 type(newType) m2_number 121 type(newType) m2_number3 136 type(newType) m2_number2
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | StructuralTypeConversions.cpp | 27 Type newType = typeConverter->convertType(type); in matchAndRewrite() local 28 if (!newType) in matchAndRewrite() 30 newResultTypes.push_back(newType); in matchAndRewrite() 95 Type newType = typeConverter->convertType(type); in matchAndRewrite() local 96 if (!newType) in matchAndRewrite() 98 newResultTypes.push_back(newType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | FunctionInterfaces.cpp | 117 unsigned originalNumArgs, Type newType) { in insertFunctionArguments() argument 155 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionArguments() 163 Type newType) { in insertFunctionResults() argument 199 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionResults() 203 Operation *op, const BitVector &argIndices, Type newType) { in eraseFunctionArguments() argument 221 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionArguments() 226 Operation *op, const BitVector &resultIndices, Type newType) { in eraseFunctionResults() argument 242 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionResults() 280 Type newType) { in setFunctionType() argument 284 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setFunctionType()
|
| H A D | BuiltinAttributes.cpp | 1276 DenseElementsAttr DenseElementsAttr::reshape(ShapedType newType) { in reshape() argument 1278 if (curType == newType) in reshape() 1281 assert(newType.getElementType() == curType.getElementType() && in reshape() 1283 assert(newType.getNumElements() == curType.getNumElements() && in reshape() 1285 return DenseIntOrFPElementsAttr::getRaw(newType, getRawData()); in reshape() 1288 DenseElementsAttr DenseElementsAttr::resizeSplat(ShapedType newType) { in resizeSplat() argument 1292 if (curType == newType) in resizeSplat() 1295 assert(newType.getElementType() == curType.getElementType() && in resizeSplat() 1297 return DenseIntOrFPElementsAttr::getRaw(newType, getRawData()); in resizeSplat()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorDropLeadUnitDim.cpp | 205 VectorType newType = trimLeadingOneDims(oldType); in matchAndRewrite() local 207 if (newType == oldType) in matchAndRewrite() 212 oldMap.getResults().take_back(newType.getRank()); in matchAndRewrite() 220 read.getInBoundsAttr().getValue().take_back(newType.getRank())); in matchAndRewrite() 223 read.getLoc(), newType, read.getSource(), read.getIndices(), in matchAndRewrite() 253 VectorType newType = trimLeadingOneDims(oldType); in matchAndRewrite() local 254 if (newType == oldType) in matchAndRewrite() 256 int64_t dropDim = oldType.getRank() - newType.getRank(); in matchAndRewrite() 260 oldMap.getResults().take_back(newType.getRank()); in matchAndRewrite() 268 write.getInBoundsAttr().getValue().take_back(newType.getRank())); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | FunctionInterfaces.h | 79 unsigned originalNumArgs, Type newType); 85 unsigned originalNumResults, Type newType); 89 Type newType); 93 Type newType); 96 void setFunctionType(Operation *op, Type newType);
|
| H A D | FunctionInterfaces.td | 239 void setType(Type newType) { 240 function_interface_impl::setFunctionType(this->getOperation(), newType); 306 Type newType = $_op.getTypeWithArgsAndResults( 310 originalNumArgs, newType); 326 Type newType = $_op.getTypeWithArgsAndResults( 330 originalNumResults, newType); 342 Type newType = $_op.getTypeWithoutArgs(argIndices); 344 this->getOperation(), argIndices, newType); 356 Type newType = $_op.getTypeWithoutResults(resultIndices); 358 this->getOperation(), resultIndices, newType);
|
| H A D | AttributeSupport.h | 149 void setType(Type newType) { type = newType; } in setType() argument
|
| H A D | Value.h | 129 void setType(Type newType) { impl->setType(newType); } in setType() argument
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/ |
| H A D | TosaInferShapes.cpp | 53 Type newType = oldType.clone(inferredTy.getDims()); in propagateShapesToTosaIf() local 54 blockArg.setType(newType); in propagateShapesToTosaIf() 151 Type newType = yieldTypeInfo[i].getType(); in propagateShapesToTosaWhile() local 152 hasNewTypes |= (newType != argTypes[i]); in propagateShapesToTosaWhile() 153 argTypes[i] = newType; in propagateShapesToTosaWhile()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/ |
| H A D | MultiBuffer.cpp | 46 Type newType = memref::SubViewOp::inferRankReducedResultType( in replaceUsesAndPropagateType() local 52 subviewUse->getLoc(), newType.cast<MemRefType>(), val, in replaceUsesAndPropagateType()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | SymbolTable.cpp | 156 const WasmGlobalType *newType) { in checkGlobalType() argument 163 if (*newType != *oldType) { in checkGlobalType() 166 "\n>>> defined as " + toString(*newType) + " in " + toString(file)); in checkGlobalType() 187 const WasmTableType *newType) { in checkTableType() argument 194 if (newType->ElemType != oldType->ElemType) { in checkTableType() 197 "\n>>> defined as " + toString(*newType) + " in " + toString(file)); in checkTableType()
|
| H A D | Symbols.cpp | 383 auto *newType = make<WasmTableType>(*tableType); in setLimits() local 384 newType->Limits = limits; in setLimits() 385 tableType = newType; in setLimits()
|
| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | PPC.cpp | 312 RelType newType; in relocate() local 313 std::tie(newType, val) = fromDTPREL(rel.type, val); in relocate() 314 switch (newType) { in relocate()
|
| H A D | RISCV.cpp | 769 } else if (RelType newType = aux.relocTypes[i]) { in riscvFinalizeRelax() local 770 switch (newType) { in riscvFinalizeRelax()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/ |
| H A D | BufferizationOps.cpp | 318 RankedTensorType newType = RankedTensorType::get( in matchAndRewrite() local 320 if (newType == op.getType()) in matchAndRewrite() 323 op.getLoc(), newType, newDynamicSizes, /*copy=*/Value()); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 168 auto *newType = llvm::FunctionType::get( in packFunctionArguments() local 172 auto funcCst = module->getOrInsertFunction(newName, newType); in packFunctionArguments()
|
| /llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/ |
| H A D | pdl-to-pdl-interp-rewriter.mlir | 223 %newType = apply_native_rewrite "functor"(%root : !pdl.operation) : !pdl.type 224 %newOp = operation "foo.op" -> (%newType : !pdl.type)
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 3751 auto *newType in getDependentSizedArrayType() local 3756 Types.push_back(newType); in getDependentSizedArrayType() 3837 Types.push_back(newType); in getIncompleteArrayType() 4590 Type *newType = in getInjectedClassNameType() local 4593 Types.push_back(newType); in getInjectedClassNameType() 4637 Types.push_back(newType); in getTypedefType() 4671 Types.push_back(newType); in getRecordType() 4684 Types.push_back(newType); in getEnumType() 4700 Types.push_back(newType); in getUnresolvedUsingType() 5039 Types.push_back(newType); in getMacroQualifiedType() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | SplitReduction.cpp | 148 Type newType = RankedTensorType::get( in splitReduction() local 152 loc, newType, operand->get(), reassociation); in splitReduction()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/ |
| H A D | PolynomialApproximation.cpp | 312 Type newType; in insertCasts() local 314 newType = shaped.clone(rewriter.getF32Type()); in insertCasts() 316 newType = rewriter.getF32Type(); in insertCasts() 325 operands.push_back(rewriter.create<arith::ExtFOp>(loc, newType, operand)); in insertCasts() 326 auto result = rewriter.create<math::Atan2Op>(loc, newType, operands); in insertCasts()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | PDB.cpp | 371 TypeIndex newType = TypeIndex(SimpleTypeKind::NotTranslated); in translateIdSymbols() local 375 newType = idToType->second; in translateIdSymbols() 381 newType = *reinterpret_cast<const TypeIndex *>(&funcIdData.data()[8]); in translateIdSymbols() 385 if (newType == TypeIndex(SimpleTypeKind::NotTranslated)) { in translateIdSymbols() 391 *ti = newType; in translateIdSymbols()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/ |
| H A D | LinalgOps.cpp | 1285 RankedTensorType newType = in matchAndRewrite() local 1287 if (newType == op.getType()) in matchAndRewrite() 1290 rewriter.create<InitTensorOp>(op.getLoc(), newType, dynamicSizes, in matchAndRewrite() 1907 Type newType = newResult.getType(); in matchAndRewrite() local 1910 (newType != oldType) in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | AffinePromotion.cpp | 409 auto newType = mlir::MemRefType::get({-1}, arrayElementType); in createAffineOps() local 410 auto arrayConvert = rewriter.create<fir::ConvertOp>(acoOp.getLoc(), newType, in createAffineOps()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | type.cpp | 422 if (const DeclTypeSpec * newType{InstantiateType(newSymbol)}) { in InstantiateComponent() local 423 details->ReplaceType(*newType); in InstantiateComponent()
|