Home
last modified time | relevance | path

Searched refs:boxType (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsuper-cat-prot.m19 @interface NSBox : NSView {} - (NSBoxType)boxType; @end method
41 if ([self boxType] == NSBoxSeparator) {
47 if ([self boxType] != NSBoxSeparator)
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DConvertVariable.h88 mlir::Location, mlir::Type boxType,
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp321 mlir::Location loc, mlir::Type boxType, in createUnallocatedBox() argument
323 auto baseAddrType = boxType.dyn_cast<fir::BoxType>().getEleTy(); in createUnallocatedBox()
355 return builder.create<fir::EmboxOp>(loc, boxType, nullAddr, shape, emptySlice, in createUnallocatedBox()
363 auto boxType = fir::BoxType::get(fir::HeapType::get(type)); in createTempMutableBox() local
364 auto boxAddr = builder.createTemporary(loc, boxType, name); in createTempMutableBox()
H A DFIRBuilder.cpp304 if (auto boxType = toTy.dyn_cast<fir::BoxCharType>()) { in convertWithSemantics() local
309 auto refType = getRefType(boxType.getEleTy()); in convertWithSemantics()
1088 if (auto boxType = fieldType.dyn_cast<fir::BoxType>()) in recordTypeCanBeMemCopied() local
1089 if (boxType.getEleTy().isa<fir::HeapType>()) in recordTypeCanBeMemCopied()
H A DCharacter.cpp28 if (auto boxType = type.dyn_cast<fir::BoxCharType>()) in unwrapBoxAndRef() local
29 return boxType.getEleTy(); in unwrapBoxAndRef()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DMutableBox.h42 mlir::Type boxType,
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertVariable.cpp182 mlir::Type boxType, const Fortran::lower::SomeExpr &initialTarget) { in genInitialDataTarget() argument
189 return fir::factory::createUnallocatedBox(builder, loc, boxType, in genInitialDataTarget()
233 return builder.create<fir::EmboxOp>(loc, boxType, op->getOperands(), in genInitialDataTarget()
242 auto ptrLen = unwrapElementType(boxType).cast<fir::CharacterType>().getLen(); in genInitialDataTarget()
245 return builder.create<fir::EmboxOp>(loc, boxType, op->getOperands(), in genInitialDataTarget()
248 auto ptrType = boxType.cast<fir::BoxType>().getEleTy(); in genInitialDataTarget()
252 return builder.create<fir::EmboxOp>(loc, boxType, memref, embox.getShape(), in genInitialDataTarget()
257 return builder.create<fir::EmboxOp>(loc, boxType, memref, embox.getShape(), in genInitialDataTarget()
H A DCallInterface.cpp856 mlir::Type boxType = fir::BoxType::get(type); in handleExplicitDummy() local
860 mlir::Type boxRefType = fir::ReferenceType::get(boxType); in handleExplicitDummy()
868 addFirOperand(boxType, nextPassedArgPosition(), Property::Box, attrs); in handleExplicitDummy()
H A DAllocatable.cpp616 if (auto boxType = baseAddrTy.dyn_cast<fir::BoxType>()) in createMutableProperties() local
617 baseAddrTy = boxType.getEleTy(); in createMutableProperties()
H A DConvertExpr.cpp477 mlir::Type boxType = box.getType(); in genOptionalBox() local
478 auto absent = builder.create<fir::AbsentOp>(loc, boxType); in genOptionalBox()
480 loc, boxType, isPresent, box, absent); in genOptionalBox()
563 mlir::Type boxType = box.getType(); in absentBoxToUnallocatedBox() local
564 assert(boxType.isa<fir::BoxType>() && "argument must be a fir.box"); in absentBoxToUnallocatedBox()
566 fir::factory::createUnallocatedBox(builder, loc, boxType, llvm::None); in absentBoxToUnallocatedBox()
H A DIO.cpp330 fir::BoxType boxType = fir::BoxType::get(fir::PointerType::get(type)); in getNamelistGroup() local
331 descAddr = builder.createTemporary(loc, boxType); in getNamelistGroup()
H A DIntrinsicCall.cpp3503 fir::BoxType boxType = mold->getBoxTy(); in genNull() local
3504 mlir::Value boxStorage = builder.createTemporary(loc, boxType); in genNull()
3506 builder, loc, boxType, mold->nonDeferredLenParams()); in genNull()