Home
last modified time | relevance | path

Searched defs:boxTy (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/flang/lib/Optimizer/CodeGen/
H A DFIROpPatterns.cpp40 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(firType)) in convertObjectType() local
98 mlir::Location loc, TypePair boxTy, mlir::Value box, mlir::Type resultTy, in getValueFromBox() argument
115 getDimsFromBox(mlir::Location loc,llvm::ArrayRef<mlir::Type> retTys,TypePair boxTy,mlir::Value box,mlir::Value dim,mlir::ConversionPatternRewriter & rewriter) const getDimsFromBox() argument
128 getDimsFromBox(mlir::Location loc,llvm::ArrayRef<mlir::Type> retTys,TypePair boxTy,mlir::Value box,int dim,mlir::ConversionPatternRewriter & rewriter) const getDimsFromBox() argument
140 loadDimFieldFromBox(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::Value dim,int off,mlir::Type ty,mlir::ConversionPatternRewriter & rewriter) const loadDimFieldFromBox() argument
153 getDimFieldFromBox(mlir::Location loc,TypePair boxTy,mlir::Value box,int dim,int off,mlir::Type ty,mlir::ConversionPatternRewriter & rewriter) const getDimFieldFromBox() argument
167 getStrideFromBox(mlir::Location loc,TypePair boxTy,mlir::Value box,unsigned dim,mlir::ConversionPatternRewriter & rewriter) const getStrideFromBox() argument
176 getBaseAddrFromBox(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter) const getBaseAddrFromBox() argument
183 getElementSizeFromBox(mlir::Location loc,mlir::Type resultTy,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter) const getElementSizeFromBox() argument
190 getRankFromBox(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter) const getRankFromBox() argument
226 loadTypeDescAddress(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter) const loadTypeDescAddress() argument
236 genBoxAttributeCheck(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter,unsigned maskValue) const genBoxAttributeCheck() argument
250 computeBoxSize(mlir::Location loc,TypePair boxTy,mlir::Value box,mlir::ConversionPatternRewriter & rewriter) const computeBoxSize() argument
[all...]
H A DTargetRewrite.cpp381 __anon828c474f0902(fir::BoxCharType boxTy) convertCallOp() argument
802 __anon828c474f1c02(fir::BoxCharType boxTy) convertSignature() argument
938 auto boxTy = oldArgTys[fixup.index - offset - fixup.second]; convertSignature() local
1019 auto boxTy = oldArgTys[fixup.index - offset]; convertSignature() local
[all...]
H A DPreCGRewrite.cpp91 if (auto boxTy = mlir::dyn_cast<fir::BoxType>(embox.getType())) in matchAndRewrite() local
H A DBoxedProcedure.cpp100 if (auto boxTy = mlir::dyn_cast<BaseBoxType>(ty)) needsConversion() local
H A DCodeGen.cpp1158 auto boxTy = dest.getType(); insertField() local
1294 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(box.getType()); global() local
1337 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(box.getType()); global() local
2874 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(load.getType())) { matchAndRewrite() local
3149 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(storeTy)) { matchAndRewrite() local
[all...]
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DReduction.cpp31 auto boxTy = in getTypeModel() local
47 auto boxTy = in getTypeModel() local
64 auto boxTy = in getTypeModel() local
80 auto boxTy = getTypeModel() local
96 auto boxTy = getTypeModel() local
113 auto boxTy = getTypeModel() local
129 auto boxTy = getTypeModel() local
144 auto boxTy = getTypeModel() local
158 auto boxTy = getTypeModel() local
175 auto boxTy = getTypeModel() local
191 auto boxTy = getTypeModel() local
208 auto boxTy = getTypeModel() local
225 auto boxTy = getTypeModel() local
243 auto boxTy = getTypeModel() local
261 auto boxTy = getTypeModel() local
277 auto boxTy = getTypeModel() local
293 auto boxTy = getTypeModel() local
311 auto boxTy = getTypeModel() local
329 auto boxTy = getTypeModel() local
344 auto boxTy = getTypeModel() local
360 auto boxTy = getTypeModel() local
376 auto boxTy = getTypeModel() local
393 auto boxTy = getTypeModel() local
411 auto boxTy = getTypeModel() local
428 auto boxTy = getTypeModel() local
444 auto boxTy = getTypeModel() local
460 auto boxTy = getTypeModel() local
477 auto boxTy = getTypeModel() local
497 auto boxTy = getTypeModel() local
517 auto boxTy = getTypeModel() local
537 auto boxTy = getTypeModel() local
557 auto boxTy = getTypeModel() local
579 auto boxTy = getTypeModel() local
601 auto boxTy = getTypeModel() local
623 auto boxTy = getTypeModel() local
645 auto boxTy = getTypeModel() local
665 auto boxTy = getTypeModel() local
685 auto boxTy = getTypeModel() local
707 auto boxTy = getTypeModel() local
729 auto boxTy = getTypeModel() local
750 auto boxTy = getTypeModel() local
771 auto boxTy = getTypeModel() local
793 auto boxTy = getTypeModel() local
815 auto boxTy = getTypeModel() local
836 auto boxTy = getTypeModel() local
857 auto boxTy = getTypeModel() local
879 auto boxTy = getTypeModel() local
[all...]
H A DTransformational.cpp29 auto boxTy = in getTypeModel() local
46 auto boxTy = getTypeModel() local
62 auto boxTy = getTypeModel() local
78 auto boxTy = getTypeModel() local
95 auto boxTy = getTypeModel() local
112 auto boxTy = getTypeModel() local
128 auto boxTy = getTypeModel() local
144 auto boxTy = getTypeModel() local
338 auto boxTy = getTypeModel() local
[all...]
H A DCharacter.cpp48 if (auto boxTy = mlir::dyn_cast<fir::BoxCharType>(ty)) in discoverKind() local
50 if (auto boxTy = mlir::dyn_cast<fir::BoxType>(ty)) in discoverKind() local
H A DIntrinsics.cpp36 auto boxTy = in getTypeModel() local
/llvm-project/flang/include/flang/Optimizer/Dialect/
H A DFIRType.h297 unwrapIfDerived(fir::BaseBoxType boxTy) unwrapIfDerived() argument
303 isDerivedTypeWithLenParams(fir::BaseBoxType boxTy) isDerivedTypeWithLenParams() argument
309 isDerivedType(fir::BaseBoxType boxTy) isDerivedType() argument
368 boxHasAddendum(fir::BaseBoxType boxTy) boxHasAddendum() argument
[all...]
/llvm-project/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp259 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) extractSequenceType() local
271 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) isPointerType() local
279 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) isAllocatableType() local
293 if (auto boxTy = mlir::dyn_cast<fir::BoxType>(ty)) { isBoxedRecordType() local
305 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { isScalarBoxedRecordType() local
330 if (auto boxTy = mlir::dyn_cast<fir::BoxType>(ty)) isAssumedShape() local
339 if (auto boxTy = mlir::dyn_cast<fir::BoxType>(ty)) { isAllocatableOrPointerArray() local
427 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { unwrapSeqOrBoxedSeqType() local
435 getBoxRank(mlir::Type boxTy) getBoxRank() argument
596 } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BoxType>(ty)) { getTypeAsString() local
661 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(t)) { isa_unknown_size_box() local
[all...]
/llvm-project/flang/lib/Lower/OpenMP/
H A DReductionProcessor.cpp329 genBoxCombiner(fir::FirOpBuilder & builder,mlir::Location loc,ReductionProcessor::ReductionIdentifier redId,fir::BaseBoxType boxTy,mlir::Value lhs,mlir::Value rhs) genBoxCombiner() argument
418 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { genCombiner() local
445 if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(valTy)) { createReductionCleanupRegion() local
483 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { unwrapSeqOrBoxedType() local
538 if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(ty)) { createReductionInitRegion() local
H A DUtils.cpp127 if (auto boxTy = llvm::dyn_cast<fir::BaseBoxType>(baseAddr.getType())) { createMapInfoOp() local
/llvm-project/flang/unittests/Optimizer/Builder/Runtime/
H A DCommandTest.cpp23 mlir::Type boxTy = fir::BoxType::get(firBuilder->getNoneType()); in TEST_F() local
H A DCharacterTest.cpp52 mlir::Type boxTy = fir::BoxType::get(charTy); in checkCharCompare1AllTypeForKind() local
161 mlir::Type boxTy = fir::BoxType::get(charTy); in checkGenScan() local
195 mlir::Type boxTy = fir::BoxType::get(charTy); in checkGenVerify() local
H A DRuntimeCallTestBase.h88 mlir::Type boxTy; global() member
/llvm-project/flang/lib/Lower/
H A DConvertProcedureDesignator.cpp174 mlir::Type boxTy = in convertProcedureDesignatorToHLFIR() local
H A DHostAssociations.cpp296 auto boxTy = mlir::cast<fir::BaseBoxType>(box.getType()); in getFromTuple() local
463 auto boxTy = mlir::cast<fir::BaseBoxType>(box.getType()); in getFromTuple() local
H A DOpenACC.cpp90 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(baseAddr.getType())) { global() local
497 } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(ty)) { genPrivateLikeInitRegion() local
731 } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(ty)) { createOrGetFirstprivateRecipe() local
1008 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) getReductionInitValue() local
1073 } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(ty)) { genReductionInitRegion() local
1285 } else if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { genCombiner() local
1386 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) isSupportedReductionType() local
[all...]
H A DConvertVariable.cpp1962 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(dummyArg.getType()); mapSymbolAttributes() local
2043 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { mapSymbolAttributes() local
2160 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(arg.getType())) { mapSymbolAttributes() local
H A DConvertExpr.cpp539 auto boxTy = mlir::cast<fir::BoxProcType>( createBoxProcCharTuple() local
2591 mlir::Type boxTy = fir::dyn_cast_ptrEleTy(argTy); genRawProcedureRef() local
2653 auto boxTy = genRawProcedureRef() local
3136 auto boxTy = fir::BoxType::get(eleTy); createDerivedArrayAmend() local
5583 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) unwrapBoxEleTy() local
5731 mlir::Type boxTy = fir::BoxType::get(reduceTy); genarr() local
6750 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { lowerPath() local
6761 } else if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) { lowerPath() local
6846 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(eleTy)) { applyPathToArrayLoad() local
6930 auto boxTy = fir::BoxType::get(ptrEleTy); applyPathToArrayLoad() local
7633 auto boxTy = fir::BoxType::get(ptrTy); addCrayPointerInst() local
[all...]
/llvm-project/flang/lib/Optimizer/Transforms/
H A DDebugTypeGenerator.cpp304 } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BoxType>(Ty)) { convertType() local
H A DArrayValueCopy.cpp464 if (auto boxTy = mlir::dyn_cast<BoxType>(type)) in hasPointerType() local
894 if (auto boxTy = mlir::dyn_cast<BoxType>(arrLoad.getMemref().getType())) { in getOrReadExtentsAndShapeOp() local
/llvm-project/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp698 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(box.getBoxTy()); disassociateMutableBox() local
964 genNullBoxStorage(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type boxTy) genNullBoxStorage() argument
H A DFIRBuilder.cpp611 mlir::Type boxTy; createBox() local
981 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(valTy)) { getFromBox() local
1035 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(memTy)) getTypeParams() local
1605 auto boxTy{mlir::dyn_cast<fir::BoxProcType>(boxType)}; createNullBoxProc() local
[all...]

12