Home
last modified time | relevance | path

Searched refs:argTy (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DFormatString.cpp327 if (argTy->canDecayToPointerType()) in matchesType()
328 argTy = C.getDecayedType(argTy); in matchesType()
340 argTy = PT->getPointeeType(); in matchesType()
378 argTy = C.IntTy; in matchesType()
382 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
384 if (T == argTy) in matchesType()
456 : argTy; in matchesType()
469 if (argTy->isVoidPointerType()) { in matchesType()
471 } if (argTy->isPointerType() || argTy->isObjCObjectPointerType() || in matchesType()
472 argTy->isBlockPointerType() || argTy->isNullPtrType()) { in matchesType()
[all …]
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTargetRewrite.cpp260 trailingInTys.push_back(argTy); in convertCallOp()
263 newInTys.push_back(argTy); in convertCallOp()
352 newInTys.push_back(argTy); in lowerComplexSignatureRes()
354 newResTys.push_back(argTy); in lowerComplexSignatureRes()
399 vec.push_back(argTy); in convertAddrOp()
527 newInTys.push_back(argTy); in convertSignature()
745 auto argTy = std::get<mlir::Type>(tup); in doComplexReturn() local
761 newInTys.push_back(argTy); in doComplexReturn()
775 newResTys.push_back(argTy); in doComplexReturn()
795 auto argTy = std::get<mlir::Type>(tup); in doComplexArg() local
[all …]
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DAbstractResult.cpp47 auto argTy = getResultArgumentType(resultType, shouldBoxResult); in getNewFunctionType() local
48 llvm::SmallVector<mlir::Type> newInputTypes = {argTy}; in getNewFunctionType()
213 auto argTy = getResultArgumentType(resultType, shouldBoxResult); in runOnOperation() local
214 mlir::Value newArg = func.front().insertArgument(zero, argTy, loc); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp824 auto argTy = mlirArg.getType(); in convertOneFunction() local
825 if (!argTy.isa<LLVM::LLVMPointerType>()) in convertOneFunction()
835 auto argTy = mlirArg.getType(); in convertOneFunction() local
836 if (!argTy.isa<LLVM::LLVMPointerType>()) in convertOneFunction()
844 auto argTy = mlirArg.getType().dyn_cast<LLVM::LLVMPointerType>(); in convertOneFunction() local
845 if (!argTy) in convertOneFunction()
850 .addStructRetAttr(convertType(argTy.getElementType()))); in convertOneFunction()
854 auto argTy = mlirArg.getType().dyn_cast<LLVM::LLVMPointerType>(); in convertOneFunction() local
855 if (!argTy) in convertOneFunction()
863 auto argTy = mlirArg.getType(); in convertOneFunction() local
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DExecutionEngine.cpp191 llvm::Type *argTy = indexedArg.value().getType(); in packFunctionArguments() local
192 argPtr = builder.CreateBitCast(argPtr, argTy->getPointerTo()); in packFunctionArguments()
193 llvm::Value *arg = builder.CreateLoad(argTy, argPtr); in packFunctionArguments()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp838 for (Type argTy : type.getInputs()) in build() local
839 entryBlock->addArgument(argTy, result.location); in build()
840 for (Type argTy : workgroupAttributions) in build() local
841 entryBlock->addArgument(argTy, result.location); in build()
842 for (Type argTy : privateAttributions) in build() local
843 entryBlock->addArgument(argTy, result.location); in build()
/llvm-project-15.0.7/flang/lib/Lower/
H A DHostAssociations.cpp512 mlir::Type argTy = getArgumentType(converter); in internalProcedureBindings() local
513 mlir::TupleType tupTy = unwrapTupleTy(argTy); in internalProcedureBindings()
519 if (ty == argTy) { in internalProcedureBindings()
H A DOpenACC.cpp108 llvm::ArrayRef<mlir::Type> argTy; in createRegionOp() local
109 Op op = builder.create<Op>(loc, argTy, operands); in createRegionOp()
129 llvm::ArrayRef<mlir::Type> argTy; in createSimpleOp() local
130 Op op = builder.create<Op>(loc, argTy, operands); in createSimpleOp()
H A DOpenMP.cpp625 llvm::ArrayRef<mlir::Type> argTy; in createCombinedParallelOp() local
651 currentLocation, argTy, ifClauseOperand, numThreadsClauseOperand, in createCombinedParallelOp()
674 llvm::ArrayRef<mlir::Type> argTy; in genOMP() local
755 currentLocation, argTy, ifClauseOperand, numThreadsClauseOperand, in genOMP()
762 firOpBuilder.create<mlir::omp::MasterOp>(currentLocation, argTy); in genOMP()
H A DConvertExpr.cpp535 mlir::Type argTy, mlir::Value funcAddr, in createBoxProcCharTuple() argument
538 argTy.cast<mlir::TupleType>().getType(0).cast<fir::BoxProcType>(); in createBoxProcCharTuple()
547 return fir::factory::createCharacterProcedureTuple(builder, loc, argTy, in createBoxProcCharTuple()
3053 mlir::Type argTy = callSiteType.getInput(arg.firArgument); in genRawProcedureRef() local
3082 mlir::Type boxTy = fir::dyn_cast_ptrEleTy(argTy); in genRawProcedureRef()
3092 if (fir::isPointerType(argTy) && in genRawProcedureRef()
3099 builder.createTemporary(loc, fir::unwrapRefType(argTy)); in genRawProcedureRef()
3148 loc, argTy, dataPtr, in genRawProcedureRef()
3169 auto absent = builder.create<fir::AbsentOp>(loc, argTy); in genRawProcedureRef()
4985 mlir::Type argTy = callSiteType.getInput(arg.firArgument); in genElementalUserDefinedProcRef() local
[all …]
H A DIO.cpp155 inline int64_t getLength(mlir::Type argTy) { in getLength() argument
156 return argTy.cast<fir::SequenceType>().getShape()[0]; in getLength()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp432 Type argTy = std::get<1>(it); in matchAndRewrite() local
437 assert(!argTy.isa<UnrankedMemRefType>() && in matchAndRewrite()
439 auto memrefTy = argTy.dyn_cast<MemRefType>(); in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp981 const Type* argTy = static_cast<const Type*>(*PI); in getOrInsertFunction() local
982 if (argTy->isPointerTy()) { in getOrInsertFunction()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DCharacter.cpp717 fir::FirOpBuilder &builder, mlir::Location loc, mlir::Type argTy, in createCharacterProcedureTuple() argument
719 mlir::TupleType tupleType = argTy.cast<mlir::TupleType>(); in createCharacterProcedureTuple()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp1605 auto argTy = shapeOfOp.getArg().getType().dyn_cast<RankedTensorType>(); in matchAndRewrite() local
1606 if (!argTy || (!ty.isDynamicDim(0) && ty.getDimSize(0) != argTy.getRank())) in matchAndRewrite()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DFormatString.h316 MatchKind matchesType(ASTContext &C, QualType argTy) const;