Searched refs:varType (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | LowerABIAttributesPass.cpp | 42 auto varType = funcOp.getFunctionType().getInput(argIndex); in createGlobalVarForEntryPointArgument() local 43 if (varType.cast<spirv::SPIRVType>().isScalarOrVector()) { in createGlobalVarForEntryPointArgument() 47 varType = in createGlobalVarForEntryPointArgument() 48 spirv::PointerType::get(spirv::StructType::get(varType), *storageClass); in createGlobalVarForEntryPointArgument() 50 auto varPtrType = varType.cast<spirv::PointerType>(); in createGlobalVarForEntryPointArgument() 60 varType = in createGlobalVarForEntryPointArgument() 64 funcOp.getLoc(), varType, varName, abiInfo.getDescriptorSet(), in createGlobalVarForEntryPointArgument()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TensorToSPIRV/ |
| H A D | TensorToSPIRV.cpp | 66 Type varType = spirv::PointerType::get(adaptor.getTensor().getType(), in matchAndRewrite() local 72 loc, varType, spirv::StorageClass::Function, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | MLIRGen.cpp | 583 VarType varType = vardecl.getType(); in mlirGen() local 584 if (!varType.name.empty()) { in mlirGen() 587 mlir::Type type = getType(varType, vardecl.loc()); in mlirGen() 601 } else if (!varType.shape.empty()) { in mlirGen() 603 getType(varType.shape), value); in mlirGen()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/OpenMP/IR/ |
| H A D | OpenMPDialect.cpp | 358 Type varType = accum.getType().cast<PointerLikeType>(); in verifyReductionVarList() local 366 if (decl.getAccumulatorType() && decl.getAccumulatorType() != varType) in verifyReductionVarList() 368 << "expected accumulator (" << varType in verifyReductionVarList()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 1124 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor() local 1130 if (varType->isReferenceType()) { in ProcessAutomaticObjDtor() 1140 varType = cast<TypedValueRegion>(Region)->getValueType(); in ProcessAutomaticObjDtor() 1147 Region = makeElementRegion(state, loc::MemRegionVal(Region), varType, in ProcessAutomaticObjDtor() 1151 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), in ProcessAutomaticObjDtor()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2617 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() local 2621 if (value->getType() == varType) return value; in emitArgumentDemotion() 2623 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion() 2626 if (isa<llvm::IntegerType>(varType)) in emitArgumentDemotion() 2627 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote"); in emitArgumentDemotion() 2629 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote"); in emitArgumentDemotion()
|
| H A D | CGBlocks.cpp | 1974 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction() local 1975 callCStructCopyConstructor(MakeAddrLValue(dstField, varType), in GenerateCopyHelperFunction() 1976 MakeAddrLValue(srcField, varType)); in GenerateCopyHelperFunction()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | OpenMP.cpp | 1326 mlir::Type varType = in genOmpAtomicUpdateStatement() local 1331 SmallVector<Type> varTys = {varType}; in genOmpAtomicUpdateStatement()
|
| H A D | ConvertVariable.cpp | 1578 mlir::Type varType = converter.genType(var); in mapSymbolAttributes() local 1581 mlir::Type castTy = builder.getRefType(varType); in mapSymbolAttributes()
|
| H A D | IO.cpp | 1109 mlir::Type varType = fir::unwrapPassByRefType(varAddr.getType()); in genIOReadSize() local 1110 mlir::Value sizeCast = builder.createConvert(loc, varType, sizeValue); in genIOReadSize()
|