Home
last modified time | relevance | path

Searched defs:builder (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/llvm-project/flang/lib/Optimizer/Builder/
H A DLowLevelIntrinsics.cpp24 mlir::func::FuncOp fir::factory::getLlvmMemcpy(fir::FirOpBuilder &builder) { in getLlvmMemcpy() argument
34 mlir::func::FuncOp fir::factory::getLlvmMemmove(fir::FirOpBuilder &builder) { in getLlvmMemmove() argument
44 getLlvmMemset(fir::FirOpBuilder & builder) getLlvmMemset() argument
54 getRealloc(fir::FirOpBuilder & builder) getRealloc() argument
62 getLlvmGetRounding(fir::FirOpBuilder & builder) getLlvmGetRounding() argument
71 getLlvmSetRounding(fir::FirOpBuilder & builder) getLlvmSetRounding() argument
79 getLlvmStackSave(fir::FirOpBuilder & builder) getLlvmStackSave() argument
89 getLlvmStackRestore(fir::FirOpBuilder & builder) getLlvmStackRestore() argument
99 getLlvmInitTrampoline(fir::FirOpBuilder & builder) getLlvmInitTrampoline() argument
108 getLlvmAdjustTrampoline(fir::FirOpBuilder & builder) getLlvmAdjustTrampoline() argument
115 getFeclearexcept(fir::FirOpBuilder & builder) getFeclearexcept() argument
124 getFedisableexcept(fir::FirOpBuilder & builder) getFedisableexcept() argument
132 getFeenableexcept(fir::FirOpBuilder & builder) getFeenableexcept() argument
140 getFegetexcept(fir::FirOpBuilder & builder) getFegetexcept() argument
147 getFeraiseexcept(fir::FirOpBuilder & builder) getFeraiseexcept() argument
155 getFetestexcept(fir::FirOpBuilder & builder) getFetestexcept() argument
[all...]
H A DTemporaryStorage.cpp23 fir::factory::Counter::Counter(mlir::Location loc, fir::FirOpBuilder &builder, in Counter()
39 fir::FirOpBuilder &builder) { in getAndIncrementIndex()
53 fir::FirOpBuilder &builder) { in reset()
65 mlir::Location loc, fir::FirOpBuilder &builder, in HomogeneousScalarStack()
92 fir::FirOpBuilder &builder, in pushValue()
110 mlir::Location loc, fir::FirOpBuilder &builder) { in resetFetchPosition()
116 fir::FirOpBuilder &builder) { in fetch()
124 fir::FirOpBuilder &builder) { in destroy()
133 mlir::Location loc, fir::FirOpBuilder &builder) { in moveStackAsArrayExpr()
144 fir::FirOpBuilder &builder, in SimpleCopy()
[all …]
H A DHLFIRTools.cpp29 getExplicitExtentsFromShape(mlir::Value shape,fir::FirOpBuilder & builder) getExplicitExtentsFromShape() argument
65 getExplicitExtents(fir::FortranVariableOpInterface var,fir::FirOpBuilder & builder) getExplicitExtents() argument
98 genLboundsAndExtentsFromBox(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity boxEntity,llvm::SmallVectorImpl<mlir::Value> & lbounds,llvm::SmallVectorImpl<mlir::Value> * extents) genLboundsAndExtentsFromBox() argument
116 getNonDefaultLowerBounds(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity) getNonDefaultLowerBounds() argument
155 genCharacterVariableLength(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity var) genCharacterVariableLength() argument
172 genUnboxChar(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value boxChar) genUnboxChar() argument
224 genDeclare(mlir::Location loc,fir::FirOpBuilder & builder,const fir::ExtendedValue & exv,llvm::StringRef name,fir::FortranVariableFlagsAttr flags,mlir::Value dummyScope,cuf::DataAttributeAttr dataAttr) genDeclare() argument
262 genAssociateExpr(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity value,mlir::Type variableType,llvm::StringRef name,std::optional<mlir::NamedAttribute> attr) genAssociateExpr() argument
299 genVariableRawAddress(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity var) genVariableRawAddress() argument
314 genVariableBoxChar(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity var) genVariableBoxChar() argument
333 genVariableBox(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity var) genVariableBox() argument
359 loadTrivialScalar(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity) loadTrivialScalar() argument
370 getElementAt(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity,mlir::ValueRange oneBasedIndices) getElementAt() argument
407 genUBound(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value lb,mlir::Value extent,mlir::Value one) genUBound() argument
420 genBounds(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity) genBounds() argument
441 genBounds(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value shape) genBounds() argument
463 genLowerbounds(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value shape,unsigned rank) genLowerbounds() argument
492 computeVariableExtent(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity variable,fir::SequenceType seqTy,unsigned dim) computeVariableExtent() argument
510 getVariableExtents(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity variable) getVariableExtents() argument
544 genShape(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity) genShape() argument
565 getIndexExtents(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value shape) getIndexExtents() argument
575 genExtent(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,unsigned dim) genExtent() argument
597 genLBound(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,unsigned dim) genLBound() argument
618 genLengthParameters(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity,llvm::SmallVectorImpl<mlir::Value> & result) genLengthParameters() argument
662 genCharLength(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity) genCharLength() argument
670 genRank(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,mlir::Type resultType) genRank() argument
680 asEmboxShape(mlir::Location loc,fir::FirOpBuilder & builder,const fir::ExtendedValue & exv,mlir::Value shape) asEmboxShape() argument
696 genVariableFirBaseShapeAndParams(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity,llvm::SmallVectorImpl<mlir::Value> & typeParams) genVariableFirBaseShapeAndParams() argument
713 derefPointersAndAllocatables(mlir::Location loc,fir::FirOpBuilder & builder,Entity entity) derefPointersAndAllocatables() argument
783 genElementalOp(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Type elementType,mlir::Value shape,mlir::ValueRange typeParams,const ElementalKernelGenerator & genKernel,bool isUnordered,mlir::Value polymorphicMold,mlir::Type exprType) genElementalOp() argument
809 inlineElementalOp(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::ElementalOp elemental,mlir::ValueRange oneBasedIndices) inlineElementalOp() argument
826 inlineElementalOp(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::ElementalOpInterface elemental,mlir::ValueRange oneBasedIndices,mlir::IRMapping & mapper,const std::function<bool (hlfir::ElementalOp)> & mustRecursivelyInline) inlineElementalOp() argument
857 genLoopNest(mlir::Location loc,fir::FirOpBuilder & builder,mlir::ValueRange extents,bool isUnordered) genLoopNest() argument
882 translateVariableToExtendedValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity variable,bool forceHlfirBase=false,bool contiguousHint=false) translateVariableToExtendedValue() argument
945 translateToExtendedValue(mlir::Location loc,fir::FirOpBuilder & builder,fir::FortranVariableOpInterface var,bool forceHlfirBase) translateToExtendedValue() argument
952 translateToExtendedValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,bool contiguousHint) translateToExtendedValue() argument
983 convertToValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity) convertToValue() argument
993 placeTrivialInMemory(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value val,mlir::Type targetType) placeTrivialInMemory() argument
1005 convertToBox(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,mlir::Type targetType) convertToBox() argument
1025 convertToAddress(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity entity,mlir::Type targetType) convertToAddress() argument
1057 cloneToElementalOp(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::ElementalAddrOp elementalAddrOp) cloneToElementalOp() argument
1096 createTempFromMold(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity mold) createTempFromMold() argument
1158 createStackTempFromMold(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity mold) createStackTempFromMold() argument
1188 convertCharacterKind(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity scalarChar,int toKind) convertCharacterKind() argument
1205 genTypeAndKindConvert(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity source,mlir::Type toType,bool preserveLowerBounds) genTypeAndKindConvert() argument
1241 __anon3588bebe0902( mlir::Location loc, fir::FirOpBuilder &builder, mlir::ValueRange oneBasedIndices) genTypeAndKindConvert() argument
[all...]
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/Utils/
H A DCodegenUtils.h85 SmallVector<Value> genCallOrInline(OpBuilder &builder, Location loc) { in genCallOrInline() argument
120 getParentOpOf(OpBuilder & builder) getParentOpOf() argument
131 genImplementation(TypeRange retTypes,ValueRange params,OpBuilder & builder,Location loc) genImplementation() argument
312 constantZero(OpBuilder & builder,Location loc,Type tp) constantZero() argument
323 constantOne(OpBuilder & builder,Location loc,Type tp) constantOne() argument
334 constantIndex(OpBuilder & builder,Location loc,int64_t i) constantIndex() argument
339 constantI64(OpBuilder & builder,Location loc,int64_t i) constantI64() argument
344 constantI32(OpBuilder & builder,Location loc,int32_t i) constantI32() argument
349 constantI16(OpBuilder & builder,Location loc,int16_t i) constantI16() argument
354 constantI8(OpBuilder & builder,Location loc,int8_t i) constantI8() argument
359 constantI1(OpBuilder & builder,Location loc,bool b) constantI1() argument
364 constantAction(OpBuilder & builder,Location loc,Action action) constantAction() argument
369 constantOverheadTypeEncoding(OpBuilder & builder,Location loc,unsigned width) constantOverheadTypeEncoding() argument
377 constantPosTypeEncoding(OpBuilder & builder,Location loc,SparseTensorEncodingAttr enc) constantPosTypeEncoding() argument
384 constantCrdTypeEncoding(OpBuilder & builder,Location loc,SparseTensorEncodingAttr enc) constantCrdTypeEncoding() argument
390 constantPrimaryTypeEncoding(OpBuilder & builder,Location loc,Type elemTp) constantPrimaryTypeEncoding() argument
397 constantLevelTypeEncoding(OpBuilder & builder,Location loc,LevelType lt) constantLevelTypeEncoding() argument
403 genValFromAttr(OpBuilder & builder,Location loc,Attribute attr) genValFromAttr() argument
[all...]
H A DSparseTensorDescriptor.h77 Value getSpecifierField(OpBuilder &builder, Location loc, in getSpecifierField() argument
84 Value getLvlSize(OpBuilder &builder, Location loc, Level lvl) const { in getLvlSize() argument
106 Value getPosMemSize(OpBuilder &builder, Location loc, Level lvl) const { in getPosMemSize() argument
111 Value getCrdMemSize(OpBuilder &builder, Locatio argument
116 getValMemSize(OpBuilder & builder,Location loc) getValMemSize() argument
205 setSpecifierField(OpBuilder & builder,Location loc,StorageSpecifierKind kind,std::optional<Level> lvl,Value v) setSpecifierField() argument
213 setValMemSize(OpBuilder & builder,Location loc,Value v) setValMemSize() argument
218 setCrdMemSize(OpBuilder & builder,Location loc,Level lvl,Value v) setCrdMemSize() argument
222 setPosMemSize(OpBuilder & builder,Location loc,Level lvl,Value v) setPosMemSize() argument
226 setLvlSize(OpBuilder & builder,Location loc,Level lvl,Value v) setLvlSize() argument
237 genTuple(OpBuilder & builder,Location loc,Type tp,ValueRange values) genTuple() argument
243 genTuple(OpBuilder & builder,Location loc,SparseTensorDescriptor desc) genTuple() argument
[all...]
H A DSparseTensorDescriptor.cpp77 getInitValue(OpBuilder & builder,Location loc,SparseTensorType stt) getInitValue() argument
83 getSpecifierField(OpBuilder & builder,Location loc,StorageSpecifierKind kind,std::optional<Level> lvl) getSpecifierField() argument
90 setSpecifierField(OpBuilder & builder,Location loc,Value v,StorageSpecifierKind kind,std::optional<Level> lvl) setSpecifierField() argument
105 getCrdMemRefOrView(OpBuilder & builder,Location loc,Level lvl) const getCrdMemRefOrView() argument
[all...]
H A DCodegenUtils.cpp54 Type mlir::sparse_tensor::getOverheadType(Builder &builder, OverheadType ot) { in getOverheadType() argument
151 Value sparse_tensor::genCast(OpBuilder &builder, Location loc, Value value, in genCast() argument
166 genScalarToTensor(OpBuilder & builder,Location loc,Value elem,Type dstTp) genScalarToTensor() argument
177 genIndexLoad(OpBuilder & builder,Location loc,Value mem,ValueRange s) genIndexLoad() argument
189 getOneAttr(Builder & builder,Type tp) getOneAttr() argument
204 genIsNonzero(OpBuilder & builder,mlir::Location loc,Value v) genIsNonzero() argument
220 genReshapeDstShape(OpBuilder & builder,Location loc,SmallVectorImpl<Value> & dstShape,ArrayRef<Value> srcShape,ArrayRef<Size> staticDstShape,ArrayRef<ReassociationIndices> reassociation) genReshapeDstShape() argument
276 reshapeCvs(OpBuilder & builder,Location loc,ArrayRef<ReassociationIndices> reassociation,ValueRange srcSizes,ValueRange srcCvs,ValueRange dstSizes,SmallVectorImpl<Value> & dstCvs) reshapeCvs() argument
344 createFuncCall(OpBuilder & builder,Location loc,StringRef name,TypeRange resultType,ValueRange operands,EmitCInterface emitCInterface) createFuncCall() argument
356 getOpaquePointerType(Builder & builder) getOpaquePointerType() argument
360 genAlloca(OpBuilder & builder,Location loc,unsigned sz,Type tp,bool staticShape) genAlloca() argument
369 genAlloca(OpBuilder & builder,Location loc,Value sz,Type tp) genAlloca() argument
375 genAllocaScalar(OpBuilder & builder,Location loc,Type tp) genAllocaScalar() argument
380 allocaBuffer(OpBuilder & builder,Location loc,ValueRange values) allocaBuffer() argument
392 allocDenseTensor(OpBuilder & builder,Location loc,RankedTensorType tensorTp,ValueRange sizes) allocDenseTensor() argument
409 deallocDenseTensor(OpBuilder & builder,Location loc,Value buffer) deallocDenseTensor() argument
414 sizesFromSrc(OpBuilder & builder,SmallVectorImpl<Value> & sizes,Location loc,Value src) sizesFromSrc() argument
433 foreachInSparseConstant(OpBuilder & builder,Location loc,SparseElementsAttr attr,AffineMap order,function_ref<void (ArrayRef<Value>,Value)> callback) foreachInSparseConstant() argument
507 loadAll(OpBuilder & builder,Location loc,size_t size,Value mem,size_t offsetIdx,Value offsetVal) loadAll() argument
529 storeAll(OpBuilder & builder,Location loc,Value mem,ValueRange vs,size_t offsetIdx,Value offsetVal) storeAll() argument
550 genToMemref(OpBuilder & builder,Location loc,Value tensor) genToMemref() argument
557 genValMemSize(OpBuilder & builder,Location loc,Value tensor) genValMemSize() argument
562 createOrFoldSliceOffsetOp(OpBuilder & builder,Location loc,Value tensor,Dimension dim) createOrFoldSliceOffsetOp() argument
572 createOrFoldSliceStrideOp(OpBuilder & builder,Location loc,Value tensor,Dimension dim) createOrFoldSliceStrideOp() argument
582 genReader(OpBuilder & builder,Location loc,SparseTensorType stt,Value tensor,SmallVectorImpl<Value> & dimSizesValues,Value & dimSizesBuffer) genReader() argument
629 genMapBuffers(OpBuilder & builder,Location loc,SparseTensorType stt,ArrayRef<Value> dimSizesValues,Value dimSizesBuffer,SmallVectorImpl<Value> & lvlSizesValues,Value & dim2lvlBuffer,Value & lvl2dimBuffer) genMapBuffers() argument
[all...]
/llvm-project/mlir/lib/Conversion/LLVMCommon/
H A DMemRefBuilder.cpp32 MemRefDescriptor MemRefDescriptor::undef(OpBuilder &builder, Location loc, in undef() argument
43 MemRefDescriptor::fromStaticShape(OpBuilder &builder, Location loc, in fromStaticShape() argument
50 OpBuilder &builder, Location loc, const LLVMTypeConverter &typeConverter, in fromStaticShape() argument
77 allocatedPtr(OpBuilder & builder,Location loc) allocatedPtr() argument
82 setAllocatedPtr(OpBuilder & builder,Location loc,Value ptr) setAllocatedPtr() argument
88 alignedPtr(OpBuilder & builder,Location loc) alignedPtr() argument
93 setAlignedPtr(OpBuilder & builder,Location loc,Value ptr) setAlignedPtr() argument
100 createIndexAttrConstant(OpBuilder & builder,Location loc,Type resultType,int64_t value) createIndexAttrConstant() argument
107 offset(OpBuilder & builder,Location loc) offset() argument
113 setOffset(OpBuilder & builder,Location loc,Value offset) setOffset() argument
120 setConstantOffset(OpBuilder & builder,Location loc,uint64_t offset) setConstantOffset() argument
127 size(OpBuilder & builder,Location loc,unsigned pos) size() argument
132 size(OpBuilder & builder,Location loc,Value pos,int64_t rank) size() argument
153 setSize(OpBuilder & builder,Location loc,unsigned pos,Value size) setSize() argument
159 setConstantSize(OpBuilder & builder,Location loc,unsigned pos,uint64_t size) setConstantSize() argument
166 stride(OpBuilder & builder,Location loc,unsigned pos) stride() argument
172 setStride(OpBuilder & builder,Location loc,unsigned pos,Value stride) setStride() argument
179 setConstantStride(OpBuilder & builder,Location loc,unsigned pos,uint64_t stride) setConstantStride() argument
191 bufferPtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & converter,MemRefType type) bufferPtr() argument
223 pack(OpBuilder & builder,Location loc,const LLVMTypeConverter & converter,MemRefType type,ValueRange values) pack() argument
244 unpack(OpBuilder & builder,Location loc,Value packed,MemRefType type,SmallVectorImpl<Value> & results) unpack() argument
303 undef(OpBuilder & builder,Location loc,Type descriptorType) undef() argument
309 rank(OpBuilder & builder,Location loc) const rank() argument
312 setRank(OpBuilder & builder,Location loc,Value v) setRank() argument
316 memRefDescPtr(OpBuilder & builder,Location loc) const memRefDescPtr() argument
320 setMemRefDescPtr(OpBuilder & builder,Location loc,Value v) setMemRefDescPtr() argument
329 pack(OpBuilder & builder,Location loc,const LLVMTypeConverter & converter,UnrankedMemRefType type,ValueRange values) pack() argument
343 unpack(OpBuilder & builder,Location loc,Value packed,SmallVectorImpl<Value> & results) unpack() argument
353 computeSizes(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,ArrayRef<UnrankedMemRefDescriptor> values,ArrayRef<unsigned> addressSpaces,SmallVectorImpl<Value> & sizes) computeSizes() argument
401 allocatedPtr(OpBuilder & builder,Location loc,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) allocatedPtr() argument
407 setAllocatedPtr(OpBuilder & builder,Location loc,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType,Value allocatedPtr) setAllocatedPtr() argument
413 castToElemPtrPtr(OpBuilder & builder,Location loc,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) castToElemPtrPtr() argument
420 alignedPtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) alignedPtr() argument
432 setAlignedPtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType,Value alignedPtr) setAlignedPtr() argument
444 offsetBasePtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) offsetBasePtr() argument
453 offset(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) offset() argument
463 setOffset(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType,Value offset) setOffset() argument
474 sizeBasePtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value memRefDescPtr,LLVM::LLVMPointerType elemPtrType) sizeBasePtr() argument
484 size(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value sizeBasePtr,Value index) size() argument
496 setSize(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value sizeBasePtr,Value index,Value size) setSize() argument
509 strideBasePtr(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value sizeBasePtr,Value rank) strideBasePtr() argument
517 stride(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value strideBasePtr,Value index,Value stride) stride() argument
529 setStride(OpBuilder & builder,Location loc,const LLVMTypeConverter & typeConverter,Value strideBasePtr,Value index,Value stride) setStride() argument
[all...]
/llvm-project/flang/include/flang/Optimizer/Builder/
H A DTemporaryStorage.h107 void pushValue(mlir::Location loc, fir::FirOpBuilder &builder, in pushValue()
111 void resetFetchPosition(mlir::Location loc, fir::FirOpBuilder &builder){}; in resetFetchPosition()
112 mlir::Value fetch(mlir::Location loc, fir::FirOpBuilder &builder) { in fetch()
131 void pushValue(mlir::Location loc, fir::FirOpBuilder &builder, in pushValue()
135 void resetFetchPosition(mlir::Location loc, fir::FirOpBuilder &builder){}; in resetFetchPosition()
136 mlir::Value fetch(mlir::Location loc, fir::FirOpBuilder &builder) { in fetch()
139 void destroy(mlir::Location loc, fir::FirOpBuilder &builder) {} in destroy()
238 void pushValue(mlir::Location loc, fir::FirOpBuilder &builder, in pushValue()
242 void resetFetchPosition(mlir::Location loc, fir::FirOpBuilder &builder) { in resetFetchPosition()
246 mlir::Value fetch(mlir::Location loc, fir::FirOpBuilder &builder) { in fetch()
[all …]
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DTemporaryStack.cpp17 fir::FirOpBuilder &builder) { in genCreateValueStack()
29 void fir::runtime::genPushValue(mlir::Location loc, fir::FirOpBuilder &builder, in genPushValue()
39 void fir::runtime::genValueAt(mlir::Location loc, fir::FirOpBuilder &builder, in genValueAt()
51 fir::FirOpBuilder &builder, in genDestroyValueStack()
61 fir::FirOpBuilder &builder) { in genCreateDescriptorStack()
75 fir::FirOpBuilder &builder, in genPushDescriptor()
87 fir::FirOpBuilder &builder, in genDescriptorAt()
99 fir::FirOpBuilder &builder, in genDestroyDescriptorStack()
H A DDerived.cpp19 void fir::runtime::genDerivedTypeInitialize(fir::FirOpBuilder &builder, in genDerivedTypeInitialize() argument
32 void fir::runtime::genDerivedTypeInitializeClone(fir::FirOpBuilder &builder, in genDerivedTypeDestroy() argument
40 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
61 genNullifyDerivedType(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value box,fir::RecordType derivedType,unsigned rank) genNullifyDerivedType() argument
81 genSameTypeAs(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value a,mlir::Value b) genSameTypeAs() argument
91 genExtendsTypeOf(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value a,mlir::Value mold) genExtendsTypeOf() argument
[all...]
H A DCharacter.cpp24 static void genCharacterSearch(FN func, fir::FirOpBuilder &builder, in genCharacterSearch()
65 static void genAdjust(fir::FirOpBuilder &builder, mlir::Location loc, in genAdjust()
78 void fir::runtime::genAdjustL(fir::FirOpBuilder &builder, mlir::Location loc, in genAdjustL()
85 void fir::runtime::genAdjustR(fir::FirOpBuilder &builder, mlir::Location loc, in genAdjustR()
93 fir::runtime::genCharCompare(fir::FirOpBuilder &builder, mlir::Location loc, in genCharCompare()
122 mlir::Value fir::runtime::genCharCompare(fir::FirOpBuilder &builder, in genCharCompare()
143 mlir::Value fir::runtime::genIndex(fir::FirOpBuilder &builder, in genIndex()
171 void fir::runtime::genIndexDescriptor(fir::FirOpBuilder &builder, in genIndexDescriptor()
181 void fir::runtime::genRepeat(fir::FirOpBuilder &builder, mlir::Location loc, in genRepeat()
195 void fir::runtime::genTrim(fir::FirOpBuilder &builder, mlir::Location loc, in genTrim()
[all …]
H A DCommand.cpp28 mlir::Value fir::runtime::genCommandArgumentCount(fir::FirOpBuilder &builder, in genCommandArgumentCount()
35 mlir::Value fir::runtime::genGetCommand(fir::FirOpBuilder &builder, in genGetCommand()
51 mlir::Value fir::runtime::genGetPID(fir::FirOpBuilder &builder, in genGetPID()
60 fir::FirOpBuilder &builder, mlir::Location loc, mlir::Value number, in genGetCommandArgument()
74 mlir::Value fir::runtime::genGetEnvVariable(fir::FirOpBuilder &builder, in genGetEnvVariable()
92 mlir::Value fir::runtime::genGetCwd(fir::FirOpBuilder &builder, in genGetCwd()
H A DInquiry.cpp18 mlir::Value fir::runtime::genLboundDim(fir::FirOpBuilder &builder, in genLboundDim() argument
32 void fir::runtime::genLbound(fir::FirOpBuilder &builder, mlir::Location loc, in genLbound() argument
49 genUbound(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value array,mlir::Value kind) genUbound() argument
65 genSizeDim(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value array,mlir::Value dim) genSizeDim() argument
81 genSize(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value array) genSize() argument
95 genIsContiguous(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value array) genIsContiguous() argument
105 genShape(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultAddr,mlir::Value array,mlir::Value kind) genShape() argument
[all...]
H A DAssign.cpp16 void fir::runtime::genAssign(fir::FirOpBuilder &builder, mlir::Location loc, in genAssign()
28 void fir::runtime::genAssignPolymorphic(fir::FirOpBuilder &builder, in genAssignPolymorphic()
42 void fir::runtime::genAssignExplicitLengthCharacter(fir::FirOpBuilder &builder, in genAssignExplicitLengthCharacter()
58 void fir::runtime::genAssignTemporary(fir::FirOpBuilder &builder, in genAssignTemporary()
72 void fir::runtime::genCopyInAssign(fir::FirOpBuilder &builder, in genCopyInAssign()
85 void fir::runtime::genCopyOutAssign(fir::FirOpBuilder &builder, in genCopyOutAssign()
H A DStop.cpp17 void fir::runtime::genExit(fir::FirOpBuilder &builder, mlir::Location loc, in genExit()
25 void fir::runtime::genAbort(fir::FirOpBuilder &builder, mlir::Location loc) { in genAbort()
31 void fir::runtime::genReportFatalUserError(fir::FirOpBuilder &builder, in genReportFatalUserError()
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseStorageSpecifierToLLVM.cpp69 Value extractField(OpBuilder &builder, Location loc, in extractField() argument
76 void insertField(OpBuilder &builder, Location loc, ArrayRef<int64_t> indices, in insertField() argument
111 getInitValue(OpBuilder & builder,Location loc,Type structType,Value source) getInitValue() argument
133 dimOffset(OpBuilder & builder,Location loc,Dimension dim) const dimOffset() argument
141 setDimOffset(OpBuilder & builder,Location loc,Dimension dim,Value size) setDimOffset() argument
150 lvlSize(OpBuilder & builder,Location loc,Level lvl) const lvlSize() argument
160 setLvlSize(OpBuilder & builder,Location loc,Level lvl,Value size) setLvlSize() argument
171 dimStride(OpBuilder & builder,Location loc,Dimension dim) const dimStride() argument
179 setDimStride(OpBuilder & builder,Location loc,Dimension dim,Value size) setDimStride() argument
188 memSize(OpBuilder & builder,Location loc,FieldIndex fidx) const memSize() argument
196 setMemSize(OpBuilder & builder,Location loc,FieldIndex fidx,Value size) setMemSize() argument
205 memSizeArray(OpBuilder & builder,Location loc) const memSizeArray() argument
212 setMemSizeArray(OpBuilder & builder,Location loc,Value array) setMemSizeArray() argument
[all...]
/llvm-project/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp24 mlir::OpBuilder builder(&context); in SetUp() local
45 createCondition(fir::FirOpBuilder & builder) createCondition() argument
66 auto builder = getBuilder(); TEST_F() local
75 auto builder = getBuilder(); TEST_F() local
84 auto builder = getBuilder(); TEST_F() local
93 auto builder = getBuilder(); TEST_F() local
106 auto builder = getBuilder(); TEST_F() local
117 auto builder = getBuilder(); TEST_F() local
128 auto builder = getBuilder(); TEST_F() local
145 auto builder = getBuilder(); TEST_F() local
158 auto builder = getBuilder(); TEST_F() local
165 auto builder = getBuilder(); TEST_F() local
174 auto builder = getBuilder(); TEST_F() local
185 auto builder = getBuilder(); TEST_F() local
208 auto builder = getBuilder(); TEST_F() local
243 auto builder = getBuilder(); TEST_F() local
254 auto builder = getBuilder(); TEST_F() local
264 auto builder = getBuilder(); TEST_F() local
287 auto builder = getBuilder(); TEST_F() local
297 auto builder = getBuilder(); TEST_F() local
330 auto builder = getBuilder(); TEST_F() local
357 auto builder = getBuilder(); TEST_F() local
367 auto builder = getBuilder(); TEST_F() local
384 auto builder = getBuilder(); TEST_F() local
396 auto builder = getBuilder(); TEST_F() local
405 auto builder = getBuilder(); TEST_F() local
424 auto builder = getBuilder(); TEST_F() local
456 auto builder = getBuilder(); TEST_F() local
535 auto builder = getBuilder(); TEST_F() local
[all...]
/llvm-project/mlir/lib/Dialect/SCF/Transforms/
H A DWrapInZeroTripCheck.cpp101 [&](OpBuilder &builder, Location loc, ValueRange args) { in wrapWhileLoopInZeroTripCheck()
110 [&](OpBuilder &builder, Location loc, ValueRange args) { in wrapWhileLoopInZeroTripCheck()
118 [&](OpBuilder &builder, Location loc) { in wrapWhileLoopInZeroTripCheck()
124 [&](OpBuilder &builder, Location loc) { in wrapWhileLoopInZeroTripCheck()
/llvm-project/mlir/include/mlir/Target/LLVMIR/
H A DLLVMImportInterface.h49 convertIntrinsic(OpBuilder &builder, llvm::CallInst *inst, in convertIntrinsic() argument
57 convertInstruction(OpBuilder &builder, llvm::Instruction *inst, in convertInstruction() argument
67 setMetadataAttrs(OpBuilder &builder, unsigned kind, llvm::MDNode *node, in setMetadataAttrs() argument
151 convertIntrinsic(OpBuilder & builder,llvm::CallInst * inst,LLVM::ModuleImport & moduleImport) convertIntrinsic() argument
172 convertInstruction(OpBuilder & builder,llvm::Instruction * inst,ArrayRef<llvm::Value * > llvmOperands,LLVM::ModuleImport & moduleImport) convertInstruction() argument
194 setMetadataAttrs(OpBuilder & builder,unsigned kind,llvm::MDNode * node,Operation * op,LLVM::ModuleImport & moduleImport) setMetadataAttrs() argument
/llvm-project/mlir/lib/Conversion/ControlFlowToSCF/
H A DControlFlowToSCF.cpp34 createStructuredBranchRegionOp(OpBuilder & builder,Operation * controlFlowCondOp,TypeRange resultTypes,MutableArrayRef<Region> regions) createStructuredBranchRegionOp() argument
78 createStructuredBranchRegionTerminatorOp(Location loc,OpBuilder & builder,Operation * branchRegionOp,Operation * replacedControlFlowOp,ValueRange results) createStructuredBranchRegionTerminatorOp() argument
86 createStructuredDoWhileLoopOp(OpBuilder & builder,Operation * replacedOp,ValueRange loopVariablesInit,Value condition,ValueRange loopVariablesNextIter,Region && loopBody) createStructuredDoWhileLoopOp() argument
111 getCFGSwitchValue(Location loc,OpBuilder & builder,unsigned int value) getCFGSwitchValue() argument
118 createCFGSwitchOp(Location loc,OpBuilder & builder,Value flag,ArrayRef<unsigned int> caseValues,BlockRange caseDestinations,ArrayRef<ValueRange> caseArguments,Block * defaultDest,ValueRange defaultArgs) createCFGSwitchOp() argument
128 getUndefValue(Location loc,OpBuilder & builder,Type type) getUndefValue() argument
135 createUnreachableTerminator(Location loc,OpBuilder & builder,Region & region) createUnreachableTerminator() argument
[all...]
/llvm-project/flang/lib/Optimizer/Transforms/
H A DSimplifyIntrinsics.cpp121 fir::FirOpBuilder builder{op, kindMap}; getSimplificationBuilder() local
134 genNoneBoxType(fir::FirOpBuilder & builder,const mlir::Type & elementType) genNoneBoxType() argument
270 genReductionLoop(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,fir::InitValGeneratorTy initVal,ContinueLoopGenTy loopCond,T unorderedOrInitialLoopCond,BodyOpGeneratorTy genBody,unsigned rank,mlir::Type elementType,mlir::Location loc) genReductionLoop() argument
359 nopLoopCond(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value reductionVal) nopLoopCond() argument
370 genRuntimeSumBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeSumBody() argument
392 __anonfe7b43d30202(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeSumBody() argument
412 genRuntimeMaxvalBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeMaxvalBody() argument
415 __anonfe7b43d30302(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeMaxvalBody() argument
427 __anonfe7b43d30402(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeMaxvalBody() argument
429 __anonfe7b43d30502(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeMaxvalBody() argument
457 genRuntimeCountBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeCountBody() argument
467 __anonfe7b43d30602(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeCountBody() argument
469 __anonfe7b43d30702(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeCountBody() argument
491 genRuntimeAnyBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAnyBody() argument
499 __anonfe7b43d30802(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeAnyBody() argument
507 __anonfe7b43d30902(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeAnyBody() argument
524 genRuntimeAllBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAllBody() argument
527 __anonfe7b43d30a02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Value reductionVal) genRuntimeAllBody() argument
532 __anonfe7b43d30b02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeAllBody() argument
540 __anonfe7b43d30c02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeAllBody() argument
541 __anonfe7b43d30d02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Value reductionVal) genRuntimeAllBody() argument
555 genRuntimeMinlocType(fir::FirOpBuilder & builder,unsigned int rank) genRuntimeMinlocType() argument
566 genMinMaxlocReductionLoop(fir::FirOpBuilder & builder,mlir::Value array,fir::InitValGeneratorTy initVal,fir::MinlocBodyOpGeneratorTy genBody,fir::AddrGeneratorTy getAddrFn,unsigned rank,mlir::Type elementType,mlir::Location loc,mlir::Type maskElemType,mlir::Value resultArr,bool maskMayBeLogicalScalar) genMinMaxlocReductionLoop() argument
657 genRuntimeMinMaxlocBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,bool isMax,unsigned rank,int maskRank,mlir::Type elementType,mlir::Type maskElemType,mlir::Type resultElemTy,bool isDim) genRuntimeMinMaxlocBody() argument
664 __anonfe7b43d30e02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeMinMaxlocBody() argument
717 __anonfe7b43d30f02( fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value array, mlir::Value flagRef, mlir::Value reduction, const llvm::SmallVectorImpl<mlir::Value> &indices) genRuntimeMinMaxlocBody() argument
853 __anonfe7b43d31002(fir::FirOpBuilder builder, mlir::Location loc, const mlir::Type &resultElemType, mlir::Value resultArr, mlir::Value index) genRuntimeMinMaxlocBody() argument
890 genRuntimeDotType(fir::FirOpBuilder & builder,const mlir::Type & elementType) genRuntimeDotType() argument
904 genRuntimeDotBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,mlir::Type arg1ElementTy,mlir::Type arg2ElementTy) genRuntimeDotBody() argument
999 getOrCreateFunction(fir::FirOpBuilder & builder,const mlir::StringRef & baseName,FunctionTypeGeneratorTy typeGenerator,FunctionBodyGeneratorTy bodyGenerator) getOrCreateFunction() argument
1071 fir::FirOpBuilder builder{getSimplificationBuilder(call, kindMap)}; simplifyIntOrFloatReduction() local
1103 fir::FirOpBuilder builder{getSimplificationBuilder(call, kindMap)}; simplifyLogicalDim0Reduction() local
1139 fir::FirOpBuilder builder{getSimplificationBuilder(call, kindMap)}; simplifyLogicalDim1Reduction() local
1182 fir::FirOpBuilder builder{getSimplificationBuilder(call, kindMap)}; simplifyMinMaxlocReduction() local
1225 __anonfe7b43d31102(fir::FirOpBuilder &builder) simplifyMinMaxlocReduction() argument
1245 simplifyReductionBody(fir::CallOp call,const fir::KindMapping & kindMap,GenReductionBodyTy genBodyFunc,fir::FirOpBuilder & builder,const mlir::StringRef & funcName,mlir::Type elementType) simplifyReductionBody() argument
1255 __anonfe7b43d31302(fir::FirOpBuilder &builder) simplifyReductionBody() argument
1260 __anonfe7b43d31402(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp) simplifyReductionBody() argument
1302 fir::FirOpBuilder builder{getSimplificationBuilder(op, kindMap)}; runOnOperation() local
1326 __anonfe7b43d31602(fir::FirOpBuilder &builder) runOnOperation() argument
1331 __anonfe7b43d31702(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp) runOnOperation() argument
[all...]
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMMemorySlot.cpp39 OpBuilder &builder) { in getDefaultValue() argument
45 OpBuilder &builder) { in handleBlockArgument() argument
56 OpBuilder &builder) { in handlePromotionComplete() argument
82 const SmallPtrSetImpl<Attribute> &usedIndices, OpBuilder &builder, in destructure() argument
104 const DestructurableMemorySlot &slot, OpBuilder &builder) { in handleDestructuringComplete() argument
120 Value LLVM::LoadOp::getStored(const MemorySlot &slot, OpBuilder &builder, in getStored() argument
183 castToSameSizedInt(OpBuilder & builder,Location loc,Value val,const DataLayout & dataLayout) castToSameSizedInt() argument
201 castIntValueToSameSizedType(OpBuilder & builder,Location loc,Value val,Type targetType) castIntValueToSameSizedType() argument
216 castSameSizedTypes(OpBuilder & builder,Location loc,Value srcValue,Type targetType,const DataLayout & dataLayout) castSameSizedTypes() argument
245 createExtractAndCast(OpBuilder & builder,Location loc,Value srcValue,Type targetType,const DataLayout & dataLayout) createExtractAndCast() argument
281 createInsertAndCast(OpBuilder & builder,Location loc,Value srcValue,Value reachingDef,const DataLayout & dataLayout) createInsertAndCast() argument
341 getStored(const MemorySlot & slot,OpBuilder & builder,Value reachingDef,const DataLayout & dataLayout) getStored() argument
368 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
398 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
460 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
498 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
529 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
541 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
553 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
565 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
577 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
589 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
601 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
617 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
633 visitReplacedValues(ArrayRef<std::pair<Operation *,Value>> definitions,OpBuilder & builder) visitReplacedValues() argument
663 removeBlockingUses(const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder) removeBlockingUses() argument
860 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
943 getStored(const MemorySlot & slot,OpBuilder & builder,Value reachingDef,const DataLayout & dataLayout) getStored() argument
999 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
1031 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
1100 memcpyGetStored(MemcpyLike op,const MemorySlot & slot,OpBuilder & builder) memcpyGetStored() argument
1126 memcpyRemoveBlockingUses(MemcpyLike op,const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition) memcpyRemoveBlockingUses() argument
1171 createMemcpyLikeToReplace(OpBuilder & builder,const DataLayout & layout,MemcpyLike toReplace,Value dst,Value src,Type toCpy,bool isVolatile) createMemcpyLikeToReplace() argument
1182 createMemcpyLikeToReplace(OpBuilder & builder,const DataLayout & layout,LLVM::MemcpyInlineOp toReplace,Value dst,Value src,Type toCpy,bool isVolatile) createMemcpyLikeToReplace() argument
1199 memcpyRewire(MemcpyLike op,const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) memcpyRewire() argument
1253 getStored(const MemorySlot & slot,OpBuilder & builder,Value reachingDef,const DataLayout & dataLayout) getStored() argument
1269 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
1291 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
1305 getStored(const MemorySlot & slot,OpBuilder & builder,Value reachingDef,const DataLayout & dataLayout) getStored() argument
1320 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
1344 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
1356 getStored(const MemorySlot & slot,OpBuilder & builder,Value reachingDef,const DataLayout & dataLayout) getStored() argument
1372 removeBlockingUses(const MemorySlot & slot,const SmallPtrSetImpl<OpOperand * > & blockingUses,OpBuilder & builder,Value reachingDefinition,const DataLayout & dataLayout) removeBlockingUses() argument
1394 rewire(const DestructurableMemorySlot & slot,DenseMap<Attribute,MemorySlot> & subslots,OpBuilder & builder,const DataLayout & dataLayout) rewire() argument
[all...]
/llvm-project/flang/lib/Lower/
H A DConvertArrayConstructor.cpp117 InlinedTempStrategyImpl(mlir::Location loc, fir::FirOpBuilder &builder, in InlinedTempStrategyImpl() argument
135 mlir::Value startImpliedDo(mlir::Location loc, fir::FirOpBuilder &builder, in startImpliedDo() argument
150 fir::FirOpBuilder &builder) { in finishArrayCtorLowering() argument
191 AsElementalStrategy(mlir::Location loc, fir::FirOpBuilder &builder, in AsElementalStrategy() argument
211 startImpliedDo(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value lower,mlir::Value upper,mlir::Value stride) startImpliedDo() argument
230 pushValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity value) pushValue() argument
273 finishArrayCtorLowering(mlir::Location loc,fir::FirOpBuilder & builder) finishArrayCtorLowering() argument
301 RuntimeTempStrategy(mlir::Location loc,fir::FirOpBuilder & builder,Fortran::lower::StatementContext & stmtCtx,Fortran::lower::SymMap & symMap,fir::SequenceType declaredType,std::optional<mlir::Value> extent,llvm::ArrayRef<mlir::Value> lengths,bool missingLengthParameters) RuntimeTempStrategy() argument
367 pushValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity value) pushValue() argument
391 startImpliedDo(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value lower,mlir::Value upper,mlir::Value stride) startImpliedDo() argument
404 finishArrayCtorLowering(mlir::Location loc,fir::FirOpBuilder & builder) finishArrayCtorLowering() argument
439 pushValue(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity value) pushValue() argument
446 startImpliedDo(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value lower,mlir::Value upper,mlir::Value stride) startImpliedDo() argument
457 finishArrayCtorLowering(mlir::Location loc,fir::FirOpBuilder & builder) finishArrayCtorLowering() argument
496 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); lowerExtentExpr() local
669 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); selectArrayCtorLoweringStrategy() local
738 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genAcValue() local
761 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genAcValue() local
785 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); gen() local
[all...]
H A DConvertConstant.cpp53 fir::FirOpBuilder &builder, in convertToAttribute() argument
101 static fir::GlobalOp tryCreating(fir::FirOpBuilder &builder, in tryCreating() argument
128 tryCreating(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type symTy,llvm::StringRef globalName,mlir::StringAttr linkage,bool isConst,const Fortran::evaluate::Constant<Fortran::evaluate::Type<TC,KIND>> & constant,cuf::DataAttributeAttr dataAttr) tryCreating() argument
145 tryConvertingToAttributes(fir::FirOpBuilder & builder,const Fortran::evaluate::Constant<Fortran::evaluate::Type<TC,KIND>> & constant) tryConvertingToAttributes() argument
165 tryConvertingToAttributes(fir::FirOpBuilder & builder,const Fortran::evaluate::Expr<SomeCat> & expr) tryConvertingToAttributes() argument
180 tryCreatingGlobal(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type symTy,llvm::StringRef globalName,mlir::StringAttr linkage,bool isConst,cuf::DataAttributeAttr dataAttr) const tryCreatingGlobal() argument
206 tryCreatingDenseGlobal(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type symTy,llvm::StringRef globalName,mlir::StringAttr linkage,bool isConst,const Fortran::lower::SomeExpr & initExpr,cuf::DataAttributeAttr dataAttr) tryCreatingDenseGlobal() argument
220 genRealConstant(fir::FirOpBuilder & builder,mlir::Location loc,const llvm::APFloat & value) genRealConstant() argument
230 genScalarLit(fir::FirOpBuilder & builder,mlir::Location loc,const Fortran::evaluate::Scalar<Fortran::evaluate::Type<TC,KIND>> & value) genScalarLit() argument
283 createStringLitOp(fir::FirOpBuilder & builder,mlir::Location loc,const Fortran::evaluate::Scalar<Fortran::evaluate::Type<Fortran::common::TypeCategory::Character,KIND>> & value,int64_t len) createStringLitOp() argument
314 genScalarLit(fir::FirOpBuilder & builder,mlir::Location loc,const Fortran::evaluate::Scalar<Fortran::evaluate::Type<Fortran::common::TypeCategory::Character,KIND>> & value,int64_t len,bool outlineInReadOnlyMemory) genScalarLit() argument
341 __anon4bae4ef30902(fir::FirOpBuilder &builder) genScalarLit() argument
361 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genStructureComponentInit() local
465 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genInlinedStructureCtorLitImpl() local
542 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genScalarLit() local
551 __anon4bae4ef30b02(fir::FirOpBuilder &builder) genScalarLit() argument
570 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genInlinedArrayLit() local
651 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genOutlineArrayLit() local
679 __anon4bae4ef30e02(fir::FirOpBuilder &builder) genOutlineArrayLit() argument
696 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); genArrayLit() local
747 fir::FirOpBuilder &builder = converter.getFirOpBuilder(); gen() local
[all...]

12345678910>>...18