Home
last modified time | relevance | path

Searched defs:ty (Results 1 – 25 of 149) sorted by relevance

123456

/llvm-project/flang/lib/Optimizer/CodeGen/
H A DBoxedProcedure.cpp53 bool needsConversion(mlir::Type ty) { in needsConversion() argument
110 __anona7336d410202(mlir::Type ty) __anona7336d410202() argument
115 for (auto ty : tupTy.getTypes()) __anona7336d410402() local
122 for (auto ty : funcTy.getInputs()) __anona7336d410502() local
124 for (auto ty : funcTy.getResults()) __anona7336d410502() local
128 __anona7336d410602(ReferenceType ty) __anona7336d410602() argument
131 __anona7336d410702(PointerType ty) __anona7336d410702() argument
135 __anona7336d410802(HeapType ty) __anona7336d410802() argument
136 __anona7336d410902(fir::LLVMPointerType ty) __anona7336d410902() argument
140 __anona7336d410a02(BoxType ty) __anona7336d410a02() argument
141 __anona7336d410b02(ClassType ty) __anona7336d410b02() argument
144 __anona7336d410c02(SequenceType ty) __anona7336d410c02() argument
148 __anona7336d410d02(RecordType ty) __anona7336d410d02() argument
228 mlir::Type ty = addr.getVal().getType(); runOnOperation() local
244 mlir::FunctionType ty = func.getFunctionType(); runOnOperation() local
297 auto ty = global.getType(); runOnOperation() local
305 auto ty = mem.getType(); runOnOperation() local
320 auto ty = mem.getType(); runOnOperation() local
334 auto ty = coor.getType(); runOnOperation() local
346 auto ty = index.getType(); runOnOperation() local
358 auto ty = index.getType(); runOnOperation() local
[all...]
H A DTargetRewrite.cpp150 rewriteCallComplexResultType(mlir::Location loc,A ty,B & newResTys,fir::CodeGenSpecifics::Marshalling & newInTyAndAttrs,C & newOpers,mlir::Value & savedStackPtr) rewriteCallComplexResultType() argument
259 auto ty = std::get<mlir::Type>(tup); passSplitArgument() local
288 rewriteCallComplexInputType(mlir::Location loc,CPLX ty,mlir::Value oper,fir::CodeGenSpecifics::Marshalling & newInTyAndAttrs,llvm::SmallVectorImpl<mlir::Value> & newOpers,mlir::Value & savedStackPtr) rewriteCallComplexInputType() argument
354 mlir::Type ty = fnTy.getResult(0); convertCallOp() local
366 __anon828c474f0802(mlir::Type ty) convertCallOp() argument
377 mlir::Type ty = std::get<0>(e.value()); convertCallOp() local
469 __anon828c474f0e02(mlir::Type ty) convertCallOp() argument
604 for (mlir::Type ty : addrTy.getResults()) { convertAddrOp() local
606 __anon828c474f0f02(fir::ComplexType ty) convertAddrOp() argument
609 __anon828c474f1002(mlir::ComplexType ty) convertAddrOp() argument
612 __anon828c474f1102(mlir::Type ty) convertAddrOp() argument
615 for (mlir::Type ty : addrTy.getInputs()) { convertAddrOp() local
632 __anon828c474f1302(fir::ComplexType ty) convertAddrOp() argument
635 __anon828c474f1402(mlir::ComplexType ty) convertAddrOp() argument
651 __anon828c474f1702(mlir::Type ty) convertAddrOp() argument
707 for (auto ty : func.getResults()) hasPortableSignature() local
714 for (auto ty : func.getInputs()) hasPortableSignature() local
762 for (auto ty : funcTy.getResults()) convertSignature() local
790 __anon828c474f1b02(mlir::Type ty) convertSignature() argument
799 auto ty = e.value(); convertSignature() local
871 __anon828c474f2302(mlir::Type ty) convertSignature() argument
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DCBindingWrapping.h19 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument
28 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument
36 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
/llvm-project/llvm/utils/
H A Dshuffle_select_fuzz_tester.py114 def __init__(self, name, ty, value=None): argument
122 def __init__(self, name, ty, op0, op1, mask): argument
142 __init__(self, name, ty, op0, op1, mask) global() argument
184 __init__(self, name, ty, op0, op1, mask) global() argument
222 gen_inputs(ty, num) global() argument
239 get_random_type(ty, num_elts) global() argument
280 gen_shuf_mask(ty) global() argument
293 gen_sel_mask(ty) global() argument
305 gen_insts(inputs, ty) global() argument
[all...]
/llvm-project/polly/lib/External/isl/imath/tests/gmp-compat-test/
H A Dgenctest.py21 def test_param_name(self, ty, i): argument
38 def test_param_type(self, ty): argument
45 def test_var_name(self, ty, i): argument
64 def test_var_type(self, ty): argument
72 def init_var_from_param(self, ty, var, param): argument
121 def normalize_cmp(self, ty): argument
134 def extract_result(self, ty, pos): argument
/llvm-project/flang/unittests/Optimizer/
H A DFIRTypesTest.cpp36 mlir::Type ty = fir::ClassType::get(recTy); in TEST_F() local
87 mlir::Type ty = fir::ClassType::get(noneTy); TEST_F() local
132 mlir::Type ty = fir::BoxType::get(recTy); TEST_F() local
161 mlir::Type ty = fir::BoxType::get(recTy); TEST_F() local
237 for (mlir::Type ty : intrinsicTypes) { TEST_F() local
281 mlir::Type ty = mlir::IntegerType::get(&context, 64); TEST_F() local
[all...]
/llvm-project/mlir/lib/Dialect/Arith/Transforms/
H A DEmulateNarrowType.cpp37 addConversion([](Type ty) -> std::optional<Type> { return ty; }); in NarrowTypeEmulationConverter() argument
40 addConversion([this](FunctionType ty) -> std::optional<Type> { in NarrowTypeEmulationConverter() argument
/llvm-project/mlir/lib/Dialect/EmitC/Transforms/
H A DTypeConversions.cpp42 getUnsignedTypeFor(Type ty) getUnsignedTypeFor() argument
55 getSignedTypeFor(Type ty) getSignedTypeFor() argument
[all...]
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DReduction.cpp30 auto ty = mlir::Float80Type::get(ctx); in getTypeModel() local
46 auto ty = mlir::Float128Type::get(ctx); in getTypeModel() local
63 auto ty = mlir::IntegerType::get(ctx, 128); in getTypeModel() local
79 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
95 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
112 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
128 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
143 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
174 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
190 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
207 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
224 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
242 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
260 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
276 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
292 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
310 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
328 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
343 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
359 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
375 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
392 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
410 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
427 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
443 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
459 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
476 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
496 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
516 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
536 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
556 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
578 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
600 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
622 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
644 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
664 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
684 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
706 auto ty = mlir::IntegerType::get(ctx, 128); getTypeModel() local
728 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
749 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
770 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
792 auto ty = mlir::ComplexType::get(mlir::FloatType::getF80(ctx)); getTypeModel() local
814 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
835 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
856 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
878 auto ty = mlir::ComplexType::get(mlir::FloatType::getF128(ctx)); getTypeModel() local
1092 auto ty = arrayBox.getType(); genMaxloc() local
1139 auto ty = arrayBox.getType(); genMaxval() local
1207 auto ty = arrayBox.getType(); genMinloc() local
1279 auto ty = arrayBox.getType(); genMinval() local
1321 auto ty = arrayBox.getType(); genNorm2Dim() local
1343 auto ty = arrayBox.getType(); genNorm2() local
1394 auto ty = arrayBox.getType(); genProduct() local
1459 auto ty = resultBox.getType(); genDotProduct() local
1537 auto ty = arrayBox.getType(); genSum() local
1675 auto ty = arrayBox.getType(); GEN_IALL_IANY_IPARITY() local
1753 auto ty = arrayBox.getType(); genReduce() local
1876 auto ty = arrayBox.getType(); genReduceDim() local
[all...]
H A DNumeric.cpp30 auto ty = mlir::Float80Type::get(ctx); in getTypeModel() local
41 auto ty = mlir::Float128Type::get(ctx); in getTypeModel() local
98 auto ty = mlir::Float80Type::get(ctx); in getTypeModel() local
109 auto ty in getTypeModel() local
200 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
211 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
270 auto ty = mlir::FloatType::getF80(ctx); getTypeModel() local
281 auto ty = mlir::FloatType::getF128(ctx); getTypeModel() local
[all...]
/llvm-project/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp55 mlir::Type ty; in parseTypeSingleton() local
62 static bool isaIntegerType(mlir::Type ty) { in isaIntegerType() argument
67 bool verifyRecordMemberType(mlir::Type ty) { in verifyRecordMemberType() argument
202 getDerivedType(mlir::Type ty) getDerivedType() argument
256 extractSequenceType(mlir::Type ty) extractSequenceType() argument
268 isPointerType(mlir::Type ty) isPointerType() argument
276 isAllocatableType(mlir::Type ty) isAllocatableType() argument
284 isBoxNone(mlir::Type ty) isBoxNone() argument
290 isBoxedRecordType(mlir::Type ty) isBoxedRecordType() argument
302 isScalarBoxedRecordType(mlir::Type ty) isScalarBoxedRecordType() argument
316 isAssumedType(mlir::Type ty) isAssumedType() argument
329 isAssumedShape(mlir::Type ty) isAssumedShape() argument
336 isAllocatableOrPointerArray(mlir::Type ty) isAllocatableOrPointerArray() argument
348 isTypeWithDescriptor(mlir::Type ty) isTypeWithDescriptor() argument
354 isPolymorphicType(mlir::Type ty) isPolymorphicType() argument
362 isUnlimitedPolymorphicType(mlir::Type ty) isUnlimitedPolymorphicType() argument
374 unwrapInnerType(mlir::Type ty) unwrapInnerType() argument
386 isRecordWithAllocatableMember(mlir::Type ty) isRecordWithAllocatableMember() argument
400 isRecordWithDescriptorMember(mlir::Type ty) isRecordWithDescriptorMember() argument
413 unwrapAllRefAndSeqType(mlir::Type ty) unwrapAllRefAndSeqType() argument
424 unwrapSeqOrBoxedSeqType(mlir::Type ty) unwrapSeqOrBoxedSeqType() argument
443 getTypeCode(mlir::Type ty,const fir::KindMapping & kindMap) getTypeCode() argument
534 getTypeAsString(mlir::Type ty,const fir::KindMapping & kindMap,llvm::StringRef prefix) getTypeAsString() argument
654 printFirType(FIROpsDialect *,mlir::Type ty,mlir::DialectAsmPrinter & p) printFirType() argument
676 mlir::Type ty; parse() local
1240 isCharacterProcedureTuple(mlir::Type ty,bool acceptRawFunc) isCharacterProcedureTuple() argument
1248 hasAbstractResult(mlir::FunctionType ty) hasAbstractResult() argument
1397 getTypeSizeAndAlignment(mlir::Location loc,mlir::Type ty,const mlir::DataLayout & dl,const fir::KindMapping & kindMap) getTypeSizeAndAlignment() argument
[all...]
/llvm-project/flang/include/flang/Optimizer/CodeGen/
H A DFIROpPatterns.h31 mlir::Type convertType(mlir::Type ty) const { in convertType() argument
137 genGEP(mlir::Location loc,mlir::Type ty,mlir::ConversionPatternRewriter & rewriter,mlir::Value base,ARGS...args) genGEP() argument
252 mlir::Type ty = this->convertType(op.getType()); matchAndRewrite() local
[all...]
/llvm-project/flang/test/Lower/
H A Dderived-type-finalization.f90147 type(t1) :: ty local
152 type(t1), allocatable :: ty local
209 type(t1) :: ty local
219 class(t1), allocatable :: ty(:) local
[all...]
/llvm-project/clang/test/CXX/class.access/class.friend/
H A Dp3-cxx0x.cpp42 template<typename T> class B { typedef int ty; }; typedef in B
45 class ty { class in B
/llvm-project/mlir/test/lib/Dialect/MemRef/
H A DTestEmulateNarrowType.cpp58 typeConverter.addConversion([this](IntegerType ty) -> std::optional<Type> { in runOnOperation() argument
67 typeConverter.addConversion([this](VectorType ty) -> std::optional<Type> { in runOnOperation() argument
[all...]
/llvm-project/flang/include/flang/Optimizer/Dialect/
H A DFIRType.h285 if (auto ty = dyn_cast_ptrOrBoxEleTy(t)) { unwrapUntilSeqType() local
316 singleIndirectionLevel(mlir::Type ty) singleIndirectionLevel() argument
387 isRecordWithTypeParameters(mlir::Type ty) isRecordWithTypeParameters() argument
438 updateTypeForUnlimitedPolymorphic(mlir::Type ty) updateTypeForUnlimitedPolymorphic() argument
[all...]
/llvm-project/mlir/lib/Dialect/XeGPU/IR/
H A DXeGPUOps.cpp46 if (auto ty = llvm::dyn_cast<ShapedType>(type)) in getShapeOf() local
55 if (auto ty = llvm::dyn_cast<ShapedType>(type)) in getRankOf() local
82 [[maybe_unused]] auto ty = source.getType(); build() local
267 auto ty = getTensorDescType(); verify() local
[all...]
/llvm-project/clang/include/clang/AST/
H A DLocInfoType.h37 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType()
/llvm-project/flang/lib/Lower/OpenMP/
H A DReductionProcessor.cpp91 getReductionName(llvm::StringRef name,const fir::KindMapping & kindMap,mlir::Type ty,bool isByRef) getReductionName() argument
105 getReductionName(omp::clause::DefinedOperator::IntrinsicOperator intrinsicOp,const fir::KindMapping & kindMap,mlir::Type ty,bool isByRef) getReductionName() argument
141 if (auto ty = mlir::dyn_cast<mlir::FloatType>(type)) { getReductionInitValue() local
151 if (auto ty = mlir::dyn_cast<mlir::FloatType>(type)) { getReductionInitValue() local
399 genCombiner(fir::FirOpBuilder & builder,mlir::Location loc,ReductionProcessor::ReductionIdentifier redId,mlir::Type ty,mlir::Value lhs,mlir::Value rhs,bool isByRef) genCombiner() argument
480 unwrapSeqOrBoxedType(mlir::Type ty) unwrapSeqOrBoxedType() argument
497 mlir::Type ty = fir::unwrapRefType(type); createReductionInitRegion() local
[all...]
/llvm-project/llvm/include/llvm/IR/
H A DConstant.h44 Constant(Type *ty, ValueTy vty, AllocInfo AllocInfo) in Constant() argument
/llvm-project/llvm/test/Bindings/OCaml/
H A Ddebuginfo.ml264 let ty = int_ty_di 64 dibuilder in var
/llvm-project/mlir/test/Examples/NVGPU/tools/
H A Dnvdsl.py14 def const(value: int, ty=None): argument
23 def get_type_size(ty): argument
205 ty=None, argument
259 def get_dynamic_shared_memory(shape=None, ty=None, offset: int = 0): argument
/llvm-project/lld/COFF/
H A DDebugTypes.cpp344 for (const CVType &ty : types) { in mergeDebugT() local
637 if (isIdRecord(ty.kind())) in mergeTypeRecord() argument
617 __anon6bce90070202(const CVType &ty) forEachTypeChecked() argument
630 __anon6bce90070302(const CVType &ty) fillIsItemIndexFromDebugT() argument
700 __anon6bce90070402(const CVType &ty) mergeUniqueTypeRecords() argument
716 __anon6bce90070502(const CVType &ty) mergeUniqueTypeRecords() argument
844 __anon6bce90070602(const CVType &ty) loadGHashes() argument
878 __anon6bce90070702(const CVType &ty) loadGHashes() argument
[all...]
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dsurf-tex.py45 def get_ptx_reg(ty): argument
58 def get_ptx_vec_reg(vec, ty): argument
67 def get_llvm_type(ty): argument
[all...]
/llvm-project/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp277 llvm::Type *ty = moduleTranslation.convertType(tAttr.getValue()); convertOperationImpl() local
322 llvm::Type *ty = moduleTranslation.convertType(lpOp.getType()); convertOperationImpl() local
366 auto *ty = llvm::cast<llvm::IntegerType>( convertOperationImpl() local

123456