Home
last modified time | relevance | path

Searched defs:box (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project/polly/lib/External/isl/
H A Disl_box.c35 __isl_null isl_fixed_box *isl_fixed_box_free(__isl_take isl_fixed_box *box) in isl_fixed_box_free()
51 isl_fixed_box *box; in isl_fixed_box_alloc() local
86 __isl_give isl_fixed_box *isl_fixed_box_copy(__isl_keep isl_fixed_box *box) in isl_fixed_box_copy()
100 __isl_take isl_fixed_box *box, int pos, __isl_keep isl_aff *offset, in isl_fixed_box_set_extent()
117 __isl_take isl_fixed_box *box, int pos, __isl_keep isl_aff *offset, in isl_fixed_box_set_valid_extent()
132 __isl_take isl_fixed_box *box) in isl_fixed_box_invalidate()
163 __isl_take isl_fixed_box *box) in isl_fixed_box_project_domain_on_params()
182 isl_ctx *isl_fixed_box_get_ctx(__isl_keep isl_fixed_box *box) in isl_fixed_box_get_ctx()
191 __isl_give isl_space *isl_fixed_box_get_space(__isl_keep isl_fixed_box *box) in isl_fixed_box_get_space()
200 isl_bool isl_fixed_box_is_valid(__isl_keep isl_fixed_box *box) in isl_fixed_box_is_valid()
[all …]
H A Dbound.c31 isl_set *box; in ISL_ARGS_START() local
/llvm-project/libcxx/test/libcxx/ranges/range.adaptors/range.move.wrap/
H A Dctor.default.pass.cpp39 Box<CopyConstructible> box; in test() local
46 Box<Copyable> box; in test() local
53 Box<NothrowCopyConstructible> box; in test() local
H A Dempty_object.pass.cpp38 Hold box; in main() local
/llvm-project/flang/lib/Optimizer/Builder/
H A DBoxValue.cpp76 [](const fir::BoxValue &box) { return box.hasRank(); }, in isArray()
77 [](const fir::MutableBoxValue &box) { return box.hasRank(); }, in isArray()
82 const fir::CharBoxValue &box) { in operator <<()
94 const fir::ArrayBoxValue &box) { in operator <<()
109 const fir::CharArrayBoxValue &box) { in operator <<()
124 const fir::ProcBoxValue &box) { in operator <<()
130 const fir::BoxValue &box) { in operator <<()
151 const fir::MutableBoxValue &box) { in operator <<()
194 auto box = mlir::dyn_cast<fir::BaseBoxType>(type); in verify() local
H A DMutableBox.cpp28 const fir::MutableBoxValue &box, mlir::Value addr, in createNewFirBox() argument
103 MutablePropertyReader(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,bool forceIRBoxRead=false) MutablePropertyReader() argument
193 fir::MutableBoxValue box; global() member in __anond18cc9eb0111::MutablePropertyReader
201 MutablePropertyWriter(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::Value typeSourceBox={}) MutablePropertyWriter() argument
323 fir::MutableBoxValue box; global() member in __anond18cc9eb0111::MutablePropertyWriter
391 auto box = createTempMutableBox() local
401 readToBoxValue(const fir::MutableBoxValue & box,bool mayBePolymorphic) readToBoxValue() argument
425 genMutableBoxRead(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,bool mayBePolymorphic,bool preserveLowerBounds) genMutableBoxRead() argument
464 genIsAllocatedOrAssociatedTest(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) genIsAllocatedOrAssociatedTest() argument
471 genIsNotAllocatedOrAssociatedTest(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) genIsNotAllocatedOrAssociatedTest() argument
489 genFreememIfAllocated(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) genFreememIfAllocated() argument
506 associateMutableBox(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,const fir::ExtendedValue & source,mlir::ValueRange lbounds) associateMutableBox() argument
592 associateMutableBoxWithRemap(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,const fir::ExtendedValue & source,mlir::ValueRange lbounds,mlir::ValueRange ubounds) associateMutableBoxWithRemap() argument
693 disassociateMutableBox(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,bool polymorphicSetType) disassociateMutableBox() argument
712 getNewLengths(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange lenParams) getNewLengths() argument
735 allocateAndInitNewStorage(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange extents,mlir::ValueRange lenParams,llvm::StringRef allocName) allocateAndInitNewStorage() argument
756 genInlinedAllocation(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange lbounds,mlir::ValueRange extents,mlir::ValueRange lenParams,llvm::StringRef allocName,bool mustBeHeap) genInlinedAllocation() argument
782 genFreemem(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) genFreemem() argument
791 genReallocIfNeeded(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange shape,mlir::ValueRange lengthParams,fir::factory::ReallocStorageHandlerFunc storageHandler) genReallocIfNeeded() argument
913 finalizeRealloc(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange lbounds,bool takeLboundsIfRealloc,const MutableBoxReallocation & realloc) finalizeRealloc() argument
952 getMutableIRBox(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) getMutableIRBox() argument
958 syncMutableBoxFromIRBox(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box) syncMutableBoxFromIRBox() argument
[all...]
H A DFIRBuilder.cpp578 [&](const fir::ArrayBoxValue &box) { return genShape(loc, box); }, in createSlice() argument
581 if (!box.getLBounds().empty()) { in createSlice() argument
584 return create<fir::ShiftOp>(loc, shiftType, box in createSlice() argument
529 __anon6e8567800202(const fir::ArrayBoxValue &box) createShape() argument
530 __anon6e8567800302(const fir::CharArrayBoxValue &box) createShape() argument
531 __anon6e8567800402(const fir::BoxValue &box) createShape() argument
628 __anon6e8567800d02(const fir::ArrayBoxValue &box) createBox() argument
636 __anon6e8567800e02(const fir::CharArrayBoxValue &box) createBox() argument
646 __anon6e8567800f02(const fir::CharBoxValue &box) createBox() argument
783 readCharLen(fir::FirOpBuilder & builder,mlir::Location loc,const fir::ExtendedValue & box) readCharLen() argument
808 readExtent(fir::FirOpBuilder & builder,mlir::Location loc,const fir::ExtendedValue & box,unsigned dim) readExtent() argument
840 readLowerBound(fir::FirOpBuilder & builder,mlir::Location loc,const fir::ExtendedValue & box,unsigned dim,mlir::Value defaultValue) readLowerBound() argument
869 readExtents(fir::FirOpBuilder & builder,mlir::Location loc,const fir::BoxValue & box) readExtents() argument
889 getExtents(mlir::Location loc,fir::FirOpBuilder & builder,const fir::ExtendedValue & box) getExtents() argument
909 readBoxValue(fir::FirOpBuilder & builder,mlir::Location loc,const fir::BoxValue & box) readBoxValue() argument
947 __anon6e8567802902(const fir::BoxValue &box) getNonDefaultLowerBounds() argument
950 __anon6e8567802a02(const fir::MutableBoxValue &box) getNonDefaultLowerBounds() argument
964 __anon6e8567802e02(const fir::MutableBoxValue &box) getNonDeferredLenParams() argument
968 __anon6e8567802f02(const fir::BoxValue &box) getNonDeferredLenParams() argument
1012 __anon6e8567803102(const auto &box) getTypeParams() argument
1026 __anon6e8567803202(const fir::BoxValue &box) getTypeParams() argument
1027 __anon6e8567803302(const fir::MutableBoxValue &box) getTypeParams() argument
1190 __anon6e8567803802(const fir::BoxValue &box) arrayElementToExtendedValue() argument
1202 __anon6e8567803902(const fir::ArrayBoxValue &box) arrayElementToExtendedValue() argument
1560 mlir::Value box = builder.createBox(loc, exv); createBoxValue() local
1564 __anon6e8567803d02(const fir::ArrayBoxValue &box) createBoxValue() argument
1567 __anon6e8567803e02(const fir::CharArrayBoxValue &box) createBoxValue() argument
1571 __anon6e8567803f02(const fir::CharBoxValue &box) createBoxValue() argument
1582 fir::BoxValue box = createBoxValue() local
[all...]
H A DCharacter.cpp73 const fir::CharBoxValue &box) { in getCharacterType()
85 getCompileTimeLength(const fir::CharBoxValue &box) { in getCompileTimeLength()
158 if (auto box = mlir::dyn_cast<fir::EmboxCharOp>(definingOp)) { in toExtendedValue() local
198 fir::factory::CharacterExprHelper::createEmbox(const fir::CharBoxValue &box) { in createEmbox()
224 const fir::CharArrayBoxValue &box) { in toScalarCharacter()
247 const fir::CharArrayBoxValue &box) { in createEmbox()
308 const fir::CharBoxValue &box) { in getCharBoxBuffer()
519 const fir::CharBoxValue &box, llvm::ArrayRef<mlir::Value> bounds) { in createSubstring()
707 fir::factory::CharacterExprHelper::readLengthFromBox(mlir::Value box) { in readLengthFromBox()
713 mlir::Value box, fir::CharacterType charTy) { in readLengthFromBox()
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DDerived.cpp21 mlir::Value box) { in genDerivedTypeInitialize() argument
62 auto args = fir::runtime::createArguments(builder, loc, fTy, box, sourceFile, in genNullifyDerivedType() argument
33 genDerivedTypeDestroy(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value box) genDerivedTypeDestroy() argument
41 genDerivedTypeFinalize(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value box) genDerivedTypeFinalize() argument
53 genDerivedTypeDestroyWithoutFinalization(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value box) genDerivedTypeDestroyWithoutFinalization() argument
[all...]
H A DSupport.cpp50 mlir::Value box) { in genIsAssumedSize()
/llvm-project/flang/unittests/Optimizer/Builder/Runtime/
H A DDerivedTest.cpp17 mlir::Value box = firBuilder->create<fir::UndefOp>(loc, seqTy); in TEST_F() local
26 mlir::Value box = firBuilder->create<fir::UndefOp>(loc, seqTy); in TEST_F() local
/llvm-project/flang/lib/Optimizer/CodeGen/
H A DFIROpPatterns.cpp98 mlir::Location loc, TypePair boxTy, mlir::Value box, mlir::Type resultTy, in getValueFromBox() argument
116 getDimsFromBox(mlir::Location loc,llvm::ArrayRef<mlir::Type> retTys,TypePair boxTy,mlir::Value box,mlir::Value dim,mlir::ConversionPatternRewriter & rewriter) const getDimsFromBox() argument
129 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 DTypeConverter.cpp45 __anon41de6d400102(BoxType box) __anon41de6d400102() argument
108 if (auto box = mlir::dyn_cast<fir::BaseBoxType>(mem)) __anon41de6d401402() local
191 if (auto box = mlir::dyn_cast<fir::BaseBoxType>(mem.second)) convertRecordType() local
211 convertBoxTypeAsStruct(BaseBoxType box,int rank) const convertBoxTypeAsStruct() argument
285 convertBoxType(BaseBoxType box,int rank) const convertBoxType() argument
[all...]
/llvm-project/flang/lib/Lower/
H A DAllocatable.cpp129 genRuntimeSetBounds(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::Value dimIndex,mlir::Value lowerBound,mlir::Value upperBound) genRuntimeSetBounds() argument
150 genRuntimeInitCharacter(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::Value len,int64_t kind=0) genRuntimeInitCharacter() argument
179 genRuntimeAllocate(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,ErrorManager & errorManager) genRuntimeAllocate() argument
199 genRuntimeAllocateSource(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,fir::ExtendedValue source,ErrorManager & errorManager) genRuntimeAllocateSource() argument
221 genRuntimeAllocateApplyMold(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,fir::ExtendedValue mold,int rank) genRuntimeAllocateApplyMold() argument
242 genRuntimeDeallocate(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,ErrorManager & errorManager,mlir::Value declaredTypeDesc={}) genRuntimeDeallocate() argument
411 genInlinedAllocation(const Allocation & alloc,const fir::MutableBoxValue & box) genInlinedAllocation() argument
455 genSimpleAllocation(const Allocation & alloc,const fir::MutableBoxValue & box) genSimpleAllocation() argument
514 genSetDeferredLengthParameters(const Allocation & alloc,const fir::MutableBoxValue & box) genSetDeferredLengthParameters() argument
527 genAllocateObjectInit(const fir::MutableBoxValue & box) genAllocateObjectInit() argument
545 genAllocateObjectBounds(const Allocation & alloc,const fir::MutableBoxValue & box) genAllocateObjectBounds() argument
589 genSourceMoldAllocation(const Allocation & alloc,const fir::MutableBoxValue & box,bool isSource) genSourceMoldAllocation() argument
624 genInitDerived(const fir::MutableBoxValue & box,mlir::Value typeDescAddr,int rank,int corank=0) genInitDerived() argument
650 genInitIntrinsic(const fir::MutableBoxValue & box,const TypeCategory category,int64_t kind,int rank,int corank=0) genInitIntrinsic() argument
681 genSetType(const Allocation & alloc,const fir::MutableBoxValue & box,mlir::Location loc) genSetType() argument
729 genCudaAllocate(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,ErrorManager & errorManager,const Fortran::semantics::Symbol & sym) genCudaAllocate() argument
805 genCudaDeallocate(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,ErrorManager & errorManager,const Fortran::semantics::Symbol & sym) genCudaDeallocate() argument
829 genDeallocate(fir::FirOpBuilder & builder,Fortran::lower::AbstractConverter & converter,mlir::Location loc,const fir::MutableBoxValue & box,ErrorManager & errorManager,mlir::Value declaredTypeDesc={},const Fortran::semantics::Symbol * symbol=nullptr) genDeallocate() argument
862 genDeallocateBox(Fortran::lower::AbstractConverter & converter,const fir::MutableBoxValue & box,mlir::Location loc,const Fortran::semantics::Symbol * sym,mlir::Value declaredTypeDesc) genDeallocateBox() argument
875 genDeallocateIfAllocated(Fortran::lower::AbstractConverter & converter,const fir::MutableBoxValue & box,mlir::Location loc,const Fortran::semantics::Symbol * sym) genDeallocateIfAllocated() argument
918 fir::MutableBoxValue box = genDeallocateStmt() local
1059 fir::MutableBoxValue box(boxAddr, nonDeferredParams, mutableProperties); createMutableBox() local
1080 associateMutableBox(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const fir::MutableBoxValue & box,const Fortran::lower::SomeExpr & source,mlir::ValueRange lbounds,Fortran::lower::StatementContext & stmtCtx) associateMutableBox() argument
1120 getAssumedCharAllocatableOrPointerLen(fir::FirOpBuilder & builder,mlir::Location loc,const Fortran::semantics::Symbol & sym,mlir::Value box) getAssumedCharAllocatableOrPointerLen() argument
[all...]
H A DSymbolMap.cpp89 [&](const Fortran::lower::SymbolBox::None &box) { in operator <<()
95 [&](const auto &box) { os << box << '\n'; }); in operator <<()
H A DConvertVariable.cpp282 mlir::Value box = genInitialDataTarget() local
533 mlir::Value box = Fortran::lower::genInitialDataTarget( defineGlobal() local
541 mlir::Value box = defineGlobal() local
579 auto box{Fortran::lower::convertProcedureDesignatorInitialTarget( defineGlobal() local
587 auto box{fir::factory::createNullBoxProc(b, loc, symTy)}; defineGlobal() local
595 auto box{fir::factory::createNullBoxProc(b, loc, symTy)}; defineGlobal() local
728 auto box{fir::factory::createNullBoxProc(builder, loc, ty)}; global() local
774 auto box = builder.createBox(loc, exv); defaultInitializeAtRuntime() local
779 mlir::Value box = builder.createBox(loc, exv); defaultInitializeAtRuntime() local
859 auto box = builder.createBox(loc, exv); finalizeAtRuntime() local
864 mlir::Value box = builder.createBox(loc, exv); finalizeAtRuntime() local
939 mlir::Value box = builder->createBox(loc, exv); instantiateLocal() local
1488 lowerExplicitLowerBounds(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::BoxAnalyzer & box,llvm::SmallVectorImpl<mlir::Value> & result,Fortran::lower::SymMap & symMap,Fortran::lower::StatementContext & stmtCtx) lowerExplicitLowerBounds() argument
1525 lowerExplicitExtents(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::BoxAnalyzer & box,llvm::SmallVectorImpl<mlir::Value> & lowerBounds,llvm::SmallVectorImpl<mlir::Value> & result,Fortran::lower::SymMap & symMap,Fortran::lower::StatementContext & stmtCtx) lowerExplicitExtents() argument
1560 lowerExplicitCharLen(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::BoxAnalyzer & box,Fortran::lower::SymMap & symMap,Fortran::lower::StatementContext & stmtCtx) lowerExplicitCharLen() argument
1801 genAllocatableOrPointerDeclare(Fortran::lower::AbstractConverter & converter,Fortran::lower::SymMap & symMap,const Fortran::semantics::Symbol & sym,fir::MutableBoxValue box,bool force=false) genAllocatableOrPointerDeclare() argument
1836 genBoxDeclare(Fortran::lower::AbstractConverter & converter,Fortran::lower::SymMap & symMap,const Fortran::semantics::Symbol & sym,mlir::Value box,llvm::ArrayRef<mlir::Value> lbounds,llvm::ArrayRef<mlir::Value> explicitParams,llvm::ArrayRef<mlir::Value> explicitExtents,bool replace=false) genBoxDeclare() argument
1937 fir::MutableBoxValue box = Fortran::lower::createMutableBox( mapSymbolAttributes() local
2076 __anone457dd4f1702(auto &shapes, const auto &bounds, mlir::Value box) mapSymbolAttributes() argument
2103 __anone457dd4f1802(auto &lbounds, auto &extents, const auto &bounds, mlir::Value box) mapSymbolAttributes() argument
[all...]
H A DCustomIntrinsicCall.cpp102 if (auto *box = result.getBoxOf<fir::BoxValue>()) in genIntrinsicCall() local
294 mlir::Value box = builder.createBox(loc, targetExv); in lowerAssociated() local
H A DConvertProcedureDesignator.cpp184 [&](const fir::CharBoxValue &box) -> mlir::Value { in convertProcedureDesignatorToHLFIR()
/llvm-project/clang/test/CodeGenCXX/
H A Dvirtual-destructor-synthesis.cpp3 struct box { struct
/llvm-project/clang/test/SemaObjCXX/
H A Dobjc-boxed-expressions-nsvalue.mm105 template <class T> id box(T value) { return @(value); } // expected-error{{non-trivially copyable t… function
/llvm-project/flang/lib/Lower/OpenMP/
H A DReductionProcessor.cpp300 getShapeShift(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value box) getShapeShift() argument
554 mlir::Value box = builder.create<fir::EmboxOp>(loc, ty, valAlloc); createReductionInitRegion() local
601 mlir::Value box; createReductionInitRegion() local
734 mlir::Value box = entity.getBase(); addDeclareReduction() local
H A DDataSharingProcessor.cpp512 __anon85718bcc1502(const fir::MutableBoxValue &box) doPrivatize() argument
517 __anon85718bcc1602(const auto &box) doPrivatize() argument
/llvm-project/clang/test/Analysis/inlining/
H A Dfalse-positive-suppression.cpp81 int *&box = m.getValue(i); in testMap() local
/llvm-project/clang/test/SemaCXX/
H A Dwarn-unused-value.cpp16 Box* box = new Box; in doit() local
/llvm-project/flang/runtime/
H A Dtemporary-stack.cpp145 Descriptor &box = *data_[size_]; in push() local

12