Home
last modified time | relevance | path

Searched full:loc (Results 1 – 25 of 2880) sorted by relevance

12345678910>>...116

/llvm-project/mlir/test/Dialect/LLVMIR/
H A Dadd-debuginfo-func-scope.mlir5 // CHECK: llvm.return loc(#loc
6 // CHECK: loc(#loc[[LOC:[0-9]+]])
9 // CHECK: #loc[[LOC]] = loc(fused<#di_subprogram>
12 llvm.return loc(unknown)
13 } loc(unknow
[all...]
/llvm-project/mlir/lib/Conversion/LLVMCommon/
H A DMemRefBuilder.cpp32 MemRefDescriptor MemRefDescriptor::undef(OpBuilder &builder, Location loc, in undef() argument
35 Value descriptor = builder.create<LLVM::UndefOp>(loc, descriptorType); in undef()
43 MemRefDescriptor::fromStaticShape(OpBuilder &builder, Location loc, in fromStaticShape() argument
46 return fromStaticShape(builder, loc, typeConverter, type, memory, memory); in fromStaticShape()
50 OpBuilder &builder, Location loc, const LLVMTypeConverter &typeConverter, in fromStaticShape() argument
63 auto descr = MemRefDescriptor::undef(builder, loc, convertedType); in fromStaticShape()
64 descr.setAllocatedPtr(builder, loc, memory); in fromStaticShape()
65 descr.setAlignedPtr(builder, loc, alignedMemory); in fromStaticShape()
66 descr.setConstantOffset(builder, loc, offset); in fromStaticShape()
70 descr.setConstantSize(builder, loc, in fromStaticShape()
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
304 undef(OpBuilder & builder,Location loc,Type descriptorType) undef() argument
312 setRank(OpBuilder & builder,Location loc,Value v) setRank() argument
321 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/lld/ELF/Arch/
H A DAVR.cpp49 const uint8_t *loc) const override;
53 void relocate(uint8_t *loc, const Relocation &rel,
59 const uint8_t *loc) const { in getRelExpr()
96 Err(ctx) << getErrorLoc(ctx, loc) << "unknown relocation (" << type.v in getRelExpr()
102 static void writeLDI(uint8_t *loc, uint64_t val) { in writeLDI() argument
103 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI()
119 void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() argument
122 checkUInt(ctx, loc, val, 8, rel); in relocate()
123 *loc in relocate()
[all...]
H A DSPARCV9.cpp26 const uint8_t *loc) const override;
29 void relocate(uint8_t *loc, const Relocation &rel,
49 const uint8_t *loc) const { in getRelExpr()
81 Err(ctx) << getErrorLoc(ctx, loc) << "unknown relocation (" << type.v in getRelExpr()
87 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel, in relocate() argument
93 checkUInt(ctx, loc, val, 32, rel); in relocate()
94 write32be(loc, val); in relocate()
98 checkInt(ctx, loc, val, 32, rel); in relocate()
99 write32be(loc, val); in relocate()
104 checkInt(ctx, loc, va in relocate()
[all...]
/llvm-project/mlir/test/python/ir/
H A Dlocation.py17 loc = Location.unknown()
18 assert loc.context is ctx
21 # CHECK: unknown str: loc(unknown)
22 print("unknown str:", str(loc))
23 # CHECK: unknown repr: loc(unknown)
24 print("unknown repr:", repr(loc))
33 loc = Location.unknown()
34 attr = loc.attr
37 # CHECK: loc: loc(unknow
[all...]
/llvm-project/clang/lib/Edit/
H A DCommit.cpp25 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation() local
26 Loc = Loc.getLocWithOffset(Offset.getOffset()); in getFileLocation()
27 assert(Loc.isFileID()); in getFileLocation()
28 return Loc; in getFileLocation()
32 SourceLocation Loc = getFileLocation(SM); in getFileRange() local
33 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); in getFileRange()
37 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange() local
38 Loc = Loc.getLocWithOffset(InsertFromRangeOffs.getOffset()); in getInsertFromRange()
39 assert(Loc.isFileID()); in getInsertFromRange()
40 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); in getInsertFromRange()
[all …]
/llvm-project/mlir/test/IR/
H A Dlocations.mlir10 // CHECK: -> i32 loc("foo")
11 %1 = "foo"() : () -> i32 loc("foo")
13 // CHECK: arith.constant 4 : index loc(callsite("foo" at "mysource.cc":10:8))
14 %2 = arith.constant 4 : index loc(callsite("foo" at "mysource.cc":10:8))
16 // CHECK: affine.for %arg0 loc("IVlocation") = 0 to 8 {
17 // CHECK: } loc(fused["foo", "mysource.cc":10:8])
18 affine.for %i0 loc("IVlocation") = 0 to 8 {
19 } loc(fused["foo", "mysource.cc":10:8])
21 // CHECK: } loc(fused<"myPass">["foo", "foo2"])
23 } loc(fuse
[all...]
/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h46 /// \param Loc Indicates the new location.
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
69 /// \param Loc The location where the \p Lexer entered a new file from or the
73 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged() argument
221 /// \param Loc The location of the directive.
224 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() argument
228 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() argument
233 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment() argument
238 virtual void PragmaMark(SourceLocation Loc, StringRef Trivia) { in PragmaMark() argument
243 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch() argument
[all …]
/llvm-project/flang/unittests/Optimizer/Builder/Runtime/
H A DTransformationalTest.cpp15 mlir::Location loc = builder.getUnknownLoc(); in testGenBesselJn() local
19 mlir::Value result = builder.create<fir::UndefOp>(loc, seqTy); in testGenBesselJn()
20 mlir::Value n1 = builder.create<fir::UndefOp>(loc, i32Ty); in testGenBesselJn()
21 mlir::Value n2 = builder.create<fir::UndefOp>(loc, i32Ty); in testGenBesselJn()
22 mlir::Value x = builder.create<fir::UndefOp>(loc, realTy); in testGenBesselJn()
23 mlir::Value bn1 = builder.create<fir::UndefOp>(loc, realTy); in testGenBesselJn()
24 mlir::Value bn2 = builder.create<fir::UndefOp>(loc, realTy); in testGenBesselJn()
25 fir::runtime::genBesselJn(builder, loc, result, n1, n2, x, bn1, bn2); in testGenBesselJn()
38 mlir::Location loc = builder.getUnknownLoc(); in testGenBesselJnX0() local
42 mlir::Value result = builder.create<fir::UndefOp>(loc, seqTy); in testGenBesselJnX0()
[all …]
H A DCharacterTest.cpp17 auto loc = firBuilder->getUnknownLoc(); in TEST_F() local
18 mlir::Value result = firBuilder->create<fir::UndefOp>(loc, boxTy); in TEST_F()
19 mlir::Value string = firBuilder->create<fir::UndefOp>(loc, boxTy); in TEST_F()
20 fir::runtime::genAdjustL(*firBuilder, loc, result, string); in TEST_F()
25 auto loc = firBuilder->getUnknownLoc(); in TEST_F() local
26 mlir::Value result = firBuilder->create<fir::UndefOp>(loc, boxTy); in TEST_F()
27 mlir::Value string = firBuilder->create<fir::UndefOp>(loc, boxTy); in TEST_F()
28 fir::runtime::genAdjustR(*firBuilder, loc, result, string); in TEST_F()
34 auto loc = builder.getUnknownLoc(); in checkCharCompare1() local
36 mlir::Value lhsBuff = builder.create<fir::UndefOp>(loc, type); in checkCharCompare1()
[all …]
H A DReductionTest.cpp14 mlir::Location loc = firBuilder->getUnknownLoc(); in TEST_F() local
15 mlir::Value undef = firBuilder->create<fir::UndefOp>(loc, seqTy10); in TEST_F()
16 mlir::Value dim = firBuilder->createIntegerConstant(loc, i32Ty, 1); in TEST_F()
17 mlir::Value all = fir::runtime::genAll(*firBuilder, loc, undef, dim); in TEST_F()
22 mlir::Location loc = firBuilder->getUnknownLoc(); in TEST_F() local
23 mlir::Value result = firBuilder->create<fir::UndefOp>(loc, seqTy10); in TEST_F()
24 mlir::Value mask = firBuilder->create<fir::UndefOp>(loc, seqTy10); in TEST_F()
25 mlir::Value dim = firBuilder->createIntegerConstant(loc, i32Ty, 1); in TEST_F()
26 fir::runtime::genAllDescriptor(*firBuilder, loc, result, mask, dim); in TEST_F()
31 mlir::Location loc = firBuilder->getUnknownLoc(); in TEST_F() local
[all …]
/llvm-project/llvm/test/Transforms/GVN/
H A Dnon-integral-pointers-inseltpoison.ll7 define void @f0(i1 %alwaysFalse, i64 %val, ptr %loc) {
10 ; CHECK-NEXT: store i64 [[VAL:%.*]], ptr [[LOC:%.*]], align 8
13 ; CHECK-NEXT: [[PTR:%.*]] = load ptr addrspace(4), ptr [[LOC]], align 8
20 store i64 %val, ptr %loc
24 %ptr = load ptr addrspace(4), ptr %loc
32 define i64 @f1(i1 %alwaysFalse, ptr addrspace(4) %val, ptr %loc) {
35 ; CHECK-NEXT: store ptr addrspace(4) [[VAL:%.*]], ptr [[LOC:%.*]], align 8
38 ; CHECK-NEXT: [[INT:%.*]] = load i64, ptr [[LOC]], align 8
44 store ptr addrspace(4) %val, ptr %loc
48 %int = load i64, ptr %loc
[all...]
H A Dnon-integral-pointers.ll7 define void @f0(i1 %alwaysFalse, i64 %val, ptr %loc) {
10 ; CHECK-NEXT: store i64 [[VAL:%.*]], ptr [[LOC:%.*]], align 8
13 ; CHECK-NEXT: [[PTR:%.*]] = load ptr addrspace(4), ptr [[LOC]], align 8
20 store i64 %val, ptr %loc
24 %ptr = load ptr addrspace(4), ptr %loc
32 define i64 @f1(i1 %alwaysFalse, ptr addrspace(4) %val, ptr %loc) {
35 ; CHECK-NEXT: store ptr addrspace(4) [[VAL:%.*]], ptr [[LOC:%.*]], align 8
38 ; CHECK-NEXT: [[INT:%.*]] = load i64, ptr [[LOC]], align 8
44 store ptr addrspace(4) %val, ptr %loc
48 %int = load i64, ptr %loc
[all...]
/llvm-project/mlir/lib/Conversion/TosaToArith/
H A DTosaToArith.cpp53 Value getConstantValue(Location loc, Type type, int64_t value, in getConstantValue() argument
56 loc, getConstantAttr(type, value, rewriter)); in getConstantValue()
68 Location loc = op.getLoc(); in matchAndRewrite() local
77 Value zero = getConstantValue(loc, valueTy, 0, rewriter); in matchAndRewrite()
78 Value one64 = getConstantValue(loc, i64Ty, 1, rewriter); in matchAndRewrite()
79 Value thirtyOne32 = getConstantValue(loc, i32Ty, 31, rewriter); in matchAndRewrite()
81 Value shift32 = rewriter.create<arith::ExtUIOp>(loc, i32Ty, op.getShift()); in matchAndRewrite()
86 value64 = rewriter.create<arith::ExtSIOp>(loc, i64Ty, value); in matchAndRewrite()
88 rewriter.create<arith::ExtSIOp>(loc, i64Ty, multiplier32); in matchAndRewrite()
90 rewriter.create<arith::MulIOp>(loc, value6 in matchAndRewrite()
128 Location loc = op.getLoc(); matchAndRewrite() local
[all...]
/llvm-project/llvm/test/Transforms/LICM/
H A Dstore-hoisting.ll3 define void @test(ptr %loc) {
6 ; CHECK: store i32 0, ptr %loc
13 store i32 0, ptr %loc
22 define void @test_multiexit(ptr %loc, i1 %earlycnd) {
25 ; CHECK: store i32 0, ptr %loc
32 store i32 0, ptr %loc
46 define ptr @false_negative_2use(ptr %loc) {
49 ; CHECK: store i32 0, ptr %loc
56 store i32 0, ptr %loc
62 ret ptr %loc
[all …]
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DCharacter.cpp25 mlir::Location loc, mlir::Value resultBox, in genCharacterSearch() argument
30 auto sourceFile = fir::factory::locationToFilename(builder, loc); in genCharacterSearch()
32 fir::factory::locationToLineNo(builder, loc, fTy.getInput(6)); in genCharacterSearch()
34 auto args = fir::runtime::createArguments(builder, loc, fTy, resultBox, in genCharacterSearch()
37 builder.create<fir::CallOp>(loc, func, args); in genCharacterSearch()
65 static void genAdjust(fir::FirOpBuilder &builder, mlir::Location loc, in genAdjust() argument
71 fir::factory::locationToLineNo(builder, loc, fTy.getInput(3)); in genAdjust()
72 auto sourceFile = fir::factory::locationToFilename(builder, loc); in genAdjust()
73 auto args = fir::runtime::createArguments(builder, loc, fTy, resultBox, in genAdjust()
75 builder.create<fir::CallOp>(loc, adjustFunc, args); in genAdjust()
[all …]
H A DIntrinsics.cpp48 mlir::Location loc, mlir::Value pointer, in genAssociated()
51 fir::runtime::getRuntimeFunc<mkRTKey(PointerIsAssociatedWith)>(loc, in genAssociated()
54 builder, loc, func.getFunctionType(), pointer, target); in genAssociated()
55 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genAssociated()
59 mlir::Location loc) { in genCpuTime()
61 fir::runtime::getRuntimeFunc<mkRTKey(CpuTime)>(loc, builder); in genCpuTime()
62 return builder.create<fir::CallOp>(loc, func, std::nullopt).getResult(0); in genCpuTime()
66 mlir::Location loc, in genDateAndTime()
72 fir::runtime::getRuntimeFunc<mkRTKey(DateAndTime)>(loc, builder); in genDateAndTime()
83 zero = builder.createIntegerConstant(loc, idxT in genDateAndTime()
49 genAssociated(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value pointer,mlir::Value target) genAssociated() argument
60 genCpuTime(fir::FirOpBuilder & builder,mlir::Location loc) genCpuTime() argument
67 genDateAndTime(fir::FirOpBuilder & builder,mlir::Location loc,std::optional<fir::CharBoxValue> date,std::optional<fir::CharBoxValue> time,std::optional<fir::CharBoxValue> zone,mlir::Value values) genDateAndTime() argument
109 genEtime(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value values,mlir::Value time) genEtime() argument
123 genRandomInit(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value repeatable,mlir::Value imageDistinct) genRandomInit() argument
134 genRandomNumber(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value harvest) genRandomNumber() argument
153 genRandomSeed(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value size,mlir::Value put,mlir::Value get) genRandomSeed() argument
203 genTransfer(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value sourceBox,mlir::Value moldBox) genTransfer() argument
220 genTransferSize(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value sourceBox,mlir::Value moldBox,mlir::Value size) genTransferSize() argument
238 genSystemClock(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value count,mlir::Value rate,mlir::Value max) genSystemClock() argument
285 genSignal(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value number,mlir::Value handler,mlir::Value status) genSignal() argument
326 genSleep(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value seconds) genSleep() argument
[all...]
H A DAssign.cpp16 void fir::runtime::genAssign(fir::FirOpBuilder &builder, mlir::Location loc, in genAssign() argument
18 auto func = fir::runtime::getRuntimeFunc<mkRTKey(Assign)>(loc, builder); in genAssign()
20 auto sourceFile = fir::factory::locationToFilename(builder, loc); in genAssign()
22 fir::factory::locationToLineNo(builder, loc, fTy.getInput(3)); in genAssign()
23 auto args = fir::runtime::createArguments(builder, loc, fTy, destBox, in genAssign()
25 builder.create<fir::CallOp>(loc, func, args); in genAssign()
29 mlir::Location loc, mlir::Value destBox, in genAssignPolymorphic() argument
32 fir::runtime::getRuntimeFunc<mkRTKey(AssignPolymorphic)>(loc, builder); in genAssignPolymorphic()
34 auto sourceFile = fir::factory::locationToFilename(builder, loc); in genAssignPolymorphic()
36 fir::factory::locationToLineNo(builder, loc, fTy.getInput(3)); in genAssignPolymorphic()
[all …]
H A DTransformational.cpp148 void fir::runtime::genBesselJn(fir::FirOpBuilder &builder, mlir::Location loc, in getTypeModel()
156 func = fir::runtime::getRuntimeFunc<mkRTKey(BesselJn_4)>(loc, builder); in genBesselJn() argument
158 func = fir::runtime::getRuntimeFunc<mkRTKey(BesselJn_8)>(loc, builder); in genBesselJn()
160 func = fir::runtime::getRuntimeFunc<ForcedBesselJn_10>(loc, builder); in genBesselJn()
162 func = fir::runtime::getRuntimeFunc<ForcedBesselJn_16>(loc, builder); in genBesselJn()
164 fir::intrinsicTypeTODO(builder, xTy, loc, "BESSEL_JN"); in genBesselJn()
167 auto sourceFile = fir::factory::locationToFilename(builder, loc); in genBesselJn()
169 fir::factory::locationToLineNo(builder, loc, fTy.getInput(7)); in genBesselJn()
171 fir::runtime::createArguments(builder, loc, fTy, resultBox, n1, n2, x, in genBesselJn()
173 builder.create<fir::CallOp>(loc, fun in genBesselJn()
185 genBesselJnX0(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type xTy,mlir::Value resultBox,mlir::Value n1,mlir::Value n2) genBesselJnX0() argument
211 genBesselYn(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value n1,mlir::Value n2,mlir::Value x,mlir::Value bn1,mlir::Value bn1_1) genBesselYn() argument
240 genBesselYnX0(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type xTy,mlir::Value resultBox,mlir::Value n1,mlir::Value n2) genBesselYnX0() argument
266 genCshift(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value arrayBox,mlir::Value shiftBox,mlir::Value dimBox) genCshift() argument
282 genCshiftVector(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value arrayBox,mlir::Value shiftBox) genCshiftVector() argument
297 genEoshift(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value arrayBox,mlir::Value shiftBox,mlir::Value boundBox,mlir::Value dimBox) genEoshift() argument
315 genEoshiftVector(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value arrayBox,mlir::Value shiftBox,mlir::Value boundBox) genEoshiftVector() argument
362 genMatmul(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value matrixABox,mlir::Value matrixBBox) genMatmul() argument
414 genMatmulTranspose(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value matrixABox,mlir::Value matrixBBox) genMatmulTranspose() argument
453 genPack(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value arrayBox,mlir::Value maskBox,mlir::Value vectorBox) genPack() argument
468 genReshape(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value sourceBox,mlir::Value shapeBox,mlir::Value padBox,mlir::Value orderBox) genReshape() argument
484 genSpread(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value sourceBox,mlir::Value dim,mlir::Value ncopies) genSpread() argument
499 genTranspose(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value sourceBox) genTranspose() argument
512 genUnpack(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Value resultBox,mlir::Value vectorBox,mlir::Value maskBox,mlir::Value fieldBox) genUnpack() argument
[all...]
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseBufferRewriting.cpp96 Location loc = insertPoint.getLoc(); in getMangledSortHelperFunc() local
98 loc, nameOstream.str(), in getMangledSortHelperFunc()
110 OpBuilder &builder, Location loc, ValueRange args, AffineMap xPerm, in forEachIJPairInXs() argument
113 Value cstep = constantIndex(builder, loc, xPerm.getNumResults() + ny); in forEachIJPairInXs()
114 Value iOffset = builder.create<arith::MulIOp>(loc, args[0], cstep); in forEachIJPairInXs()
115 Value jOffset = builder.create<arith::MulIOp>(loc, args[1], cstep); in forEachIJPairInXs()
118 Value ak = constantIndex(builder, loc, actualK); in forEachIJPairInXs()
119 Value i = builder.create<arith::AddIOp>(loc, ak, iOffset); in forEachIJPairInXs()
120 Value j = builder.create<arith::AddIOp>(loc, ak, jOffset); in forEachIJPairInXs()
130 OpBuilder &builder, Location loc, ValueRang in forEachIJPairInAllBuffers() argument
166 createSwap(OpBuilder & builder,Location loc,ValueRange args,AffineMap xPerm,uint64_t ny) createSwap() argument
181 createInlinedCompareImplementation(OpBuilder & builder,Location loc,ValueRange args,AffineMap xPerm,uint64_t ny,function_ref<Value (OpBuilder &,Location,Value,Value,Value,bool,bool)> compareBuilder) createInlinedCompareImplementation() argument
209 createEqCompare(OpBuilder & builder,Location loc,Value i,Value j,Value x,bool isFirstDim,bool isLastDim) createEqCompare() argument
250 createInlinedEqCompare(OpBuilder & builder,Location loc,ValueRange args,AffineMap xPerm,uint64_t ny,uint32_t nTrailingP=0) createInlinedEqCompare() argument
262 createLessThanCompare(OpBuilder & builder,Location loc,Value i,Value j,Value x,bool isFirstDim,bool isLastDim) createLessThanCompare() argument
304 createInlinedLessThan(OpBuilder & builder,Location loc,ValueRange args,AffineMap xPerm,uint64_t ny,uint32_t nTrailingP=0) createInlinedLessThan() argument
337 Location loc = func.getLoc(); createBinarySearchFunc() local
395 Location loc = func.getLoc(); createScanLoop() local
435 createCompareThenSwap(OpBuilder & builder,Location loc,AffineMap xPerm,uint64_t ny,SmallVectorImpl<Value> & swapOperands,SmallVectorImpl<Value> & compareOperands,Value a,Value b) createCompareThenSwap() argument
453 createInsert3rd(OpBuilder & builder,Location loc,AffineMap xPerm,uint64_t ny,SmallVectorImpl<Value> & swapOperands,SmallVectorImpl<Value> & compareOperands,Value v0,Value v1,Value v2) createInsert3rd() argument
465 createSort3(OpBuilder & builder,Location loc,AffineMap xPerm,uint64_t ny,SmallVectorImpl<Value> & swapOperands,SmallVectorImpl<Value> & compareOperands,Value v0,Value v1,Value v2) createSort3() argument
480 createSort5(OpBuilder & builder,Location loc,AffineMap xPerm,uint64_t ny,SmallVectorImpl<Value> & swapOperands,SmallVectorImpl<Value> & compareOperands,Value v0,Value v1,Value v2,Value v3,Value v4) createSort5() argument
519 Location loc = func.getLoc(); createChoosePivot() local
589 Location loc = func.getLoc(); createPartitionFunc() local
691 createSubTwoDividedByTwo(OpBuilder & builder,Location loc,Value n) createSubTwoDividedByTwo() argument
738 Location loc = func.getLoc(); createShiftDownFunc() local
870 Location loc = func.getLoc(); createHeapSortFunc() local
923 Location loc = func.getLoc(); createQuickSort() local
1010 Location loc = func.getLoc(); createSortStableFunc() local
1123 Location loc = func.getLoc(); createQuickSortFunc() local
1223 Location loc = op.getLoc(); matchAndRewriteSortOp() local
1308 Location loc = op->getLoc(); matchAndRewrite() local
[all...]
H A DSparseGPUCodegen.cpp95 Location loc = gpuFunc->getLoc(); in genLaunchGPUFunc() local
97 Value one = constantIndex(builder, loc, 1); in genLaunchGPUFunc()
98 Value numT = constantIndex(builder, loc, numThreads); in genLaunchGPUFunc()
102 .create<gpu::LaunchFuncOp>(loc, gpuFunc, gridSize, blckSize, in genLaunchGPUFunc()
113 static Value genHostRegisterMemref(OpBuilder &builder, Location loc, in genHostRegisterMemref() argument
118 Value cast = builder.create<memref::CastOp>(loc, resTp, mem); in genHostRegisterMemref()
119 builder.create<gpu::HostRegisterOp>(loc, cast); in genHostRegisterMemref()
124 static void genHostUnregisterMemref(OpBuilder &builder, Location loc, in genHostUnregisterMemref() argument
126 builder.create<gpu::HostUnregisterOp>(loc, cast); in genHostUnregisterMemref()
130 static Value genFirstWait(OpBuilder &builder, Location loc) { in genFirstWait() argument
137 genBlockingWait(OpBuilder & builder,Location loc,ValueRange operands) genBlockingWait() argument
146 genAllocMemRef(OpBuilder & builder,Location loc,Value mem,Value token) genAllocMemRef() argument
164 genHostBuffer(OpBuilder & builder,Location loc,Type type,Value size) genHostBuffer() argument
171 genAllocBuffer(OpBuilder & builder,Location loc,Type type,Value size,Value token) genAllocBuffer() argument
179 genAllocBuffer(OpBuilder & builder,Location loc,Value size,Value token) genAllocBuffer() argument
185 genDeallocMemRef(OpBuilder & builder,Location loc,Value mem,Value token) genDeallocMemRef() argument
192 genCopyMemRef(OpBuilder & builder,Location loc,Value dst,Value src,Value token) genCopyMemRef() argument
199 genAllocCopy(OpBuilder & builder,Location loc,Value b,SmallVectorImpl<Value> & tokens) genAllocCopy() argument
210 genTensorToMemref(PatternRewriter & rewriter,Location loc,Value tensor) genTensorToMemref() argument
222 genParametersIn(OpBuilder & builder,Location loc,SmallVectorImpl<Value> & scalars,SmallVectorImpl<Value> & buffers,SmallVectorImpl<Value> & args,SmallVectorImpl<Value> & tokens,bool useHostRegistrationForOut) genParametersIn() argument
248 genParametersOut(OpBuilder & builder,Location loc,Value out,Value kernelToken,SmallVectorImpl<Value> & scalars,SmallVectorImpl<Value> & buffers,SmallVectorImpl<Value> & args,SmallVectorImpl<Value> & tokens) genParametersOut() argument
278 Location loc = gpuFunc->getLoc(); genGPUCode() local
494 genFirstPosOrCrds(OpBuilder & builder,Location loc,Value a,CuSparseFormat format,bool enableRT) genFirstPosOrCrds() argument
507 genSecondCrds(OpBuilder & builder,Location loc,Value a,CuSparseFormat format,bool enableRT) genSecondCrds() argument
517 genSpMat(OpBuilder & builder,Location loc,SparseTensorType & aTp,Type handleTp,Type tokenTp,Value token,Value sz1,Value sz2,Value nseA,Value rowA,Value colA,Value valA,CuSparseFormat format,bool enableRT) genSpMat() argument
564 Location loc = op.getLoc(); rewriteSpMV() local
661 Location loc = op.getLoc(); rewriteSpMM() local
762 Location loc = op.getLoc(); rewriteSpGEMM() local
939 Location loc = op.getLoc(); rewrite2To4SpMM() local
1054 Location loc = op.getLoc(); rewriteSDDMM() local
1211 Location loc = forallOp->getLoc(); matchAndRewrite() local
[all...]
/llvm-project/flang/lib/Optimizer/Builder/
H A DTemporaryStorage.cpp23 fir::factory::Counter::Counter(mlir::Location loc, fir::FirOpBuilder &builder, in Counter() argument
28 one = builder.createIntegerConstant(loc, type, 1);
30 index = builder.createTemporary(loc, type);
31 builder.create<fir::StoreOp>(loc, initialValue, index);
38 fir::factory::Counter::getAndIncrementIndex(mlir::Location loc, in getAndIncrementIndex() argument
41 mlir::Value indexValue = builder.create<fir::LoadOp>(loc, index); in getAndIncrementIndex()
43 builder.create<mlir::arith::AddIOp>(loc, indexValue, one); in getAndIncrementIndex()
44 builder.create<fir::StoreOp>(loc, newValue, index); in getAndIncrementIndex()
48 index = builder.create<mlir::arith::AddIOp>(loc, indexValue, one); in getAndIncrementIndex()
52 void fir::factory::Counter::reset(mlir::Location loc, in reset() argument
[all …]
/llvm-project/flang/lib/Lower/
H A DIO.cpp177 static mlir::func::FuncOp getIORuntimeFunc(mlir::Location loc, in getIORuntimeFunc()
184 func = builder.createFunction(loc, name, funTy); in getIORuntimeFunc()
194 mlir::Location loc, mlir::Value cookie, in genEndIO()
200 getIORuntimeFunc<mkIOKey(GetIoMsg)>(loc, builder); in genEndIO()
202 loc, getIoMsg, in genEndIO()
205 builder.createConvert(loc, getIoMsg.getFunctionType().getInput(1), in genEndIO()
207 builder.createConvert(loc, getIoMsg.getFunctionType().getInput(2), in genEndIO()
211 getIORuntimeFunc<mkIOKey(EndIoStatement)>(loc, builder); in genEndIO()
212 auto call = builder.create<fir::CallOp>(loc, endIoStatement, in genEndIO()
217 builder.create<fir::ResultOp>(loc, iosta in genEndIO()
176 getIORuntimeFunc(mlir::Location loc,fir::FirOpBuilder & builder) getIORuntimeFunc() argument
193 genEndIO(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,ConditionSpecInfo & csi,Fortran::lower::StatementContext & stmtCtx) genEndIO() argument
235 makeNextConditionalOn(fir::FirOpBuilder & builder,mlir::Location loc,bool checkResult,mlir::Value ok,bool inLoop=false) makeNextConditionalOn() argument
298 mlir::Location loc = converter.getCurrentLocation(); getNonTbpDefinedIoTableAddr() local
461 mlir::Location loc = converter.getCurrentLocation(); getNamelistGroup() local
645 mlir::Location loc = converter.getCurrentLocation(); genNamelistIO() local
656 getOutputFunc(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Type type,bool isFormatted) getOutputFunc() argument
723 mlir::Location loc = converter.genLocation(pExpr.source); genOutputItemList() local
773 getInputFunc(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Type type,bool isFormatted) getInputFunc() argument
814 boolRefToLogical(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value addr) boolRefToLogical() argument
828 createIoRuntimeCallForItem(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::func::FuncOp inputFunc,mlir::Value cookie,const fir::ExtendedValue & item) createIoRuntimeCallForItem() argument
877 mlir::Location loc = converter.genLocation(pVar.GetSource()); genInputItemList() local
930 mlir::Location loc = converter.getCurrentLocation(); genIoLoop() local
1033 locToFilename(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Type toType) locToFilename() argument
1040 locToLineNo(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Type toType) locToLineNo() argument
1046 getDefaultScratch(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type toType) getDefaultScratch() argument
1053 getDefaultScratchLen(fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type toType) getDefaultScratchLen() argument
1062 genBuffer(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::SomeExpr & expr,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) genBuffer() argument
1095 lowerStringLit(Fortran::lower::AbstractConverter & converter,mlir::Location loc,Fortran::lower::StatementContext & stmtCtx,const A & syntax,mlir::Type strTy,mlir::Type lenTy,mlir::Type ty2={}) lowerStringLit() argument
1117 lowerSourceTextAsStringLit(Fortran::lower::AbstractConverter & converter,mlir::Location loc,llvm::StringRef text,mlir::Type strTy,mlir::Type lenTy) lowerSourceTextAsStringLit() argument
1137 genIntIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const B & spec) genIntIOOption() argument
1154 genCharIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const B & spec) genCharIOOption() argument
1170 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const A & spec) genIOOption() argument
1185 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::FileNameExpr & spec) genIOOption() argument
1202 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::ConnectSpec::CharExpr & spec) genIOOption() argument
1265 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::ConnectSpec::Recl & spec) genIOOption() argument
1272 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::StatusExpr & spec) genIOOption() argument
1279 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::IoControlSpec::CharExpr & spec) genIOOption() argument
1319 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::IoControlSpec::Asynchronous & spec) genIOOption() argument
1328 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::IoControlSpec::Pos & spec) genIOOption() argument
1335 genIOOption(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const Fortran::parser::IoControlSpec::Rec & spec) genIOOption() argument
1344 genIOGetVar(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const VAR & parserVar) genIOGetVar() argument
1386 threadSpecs(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const A & specList,bool checkResult,mlir::Value & ok) threadSpecs() argument
1424 lowerErrorSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & specList) lowerErrorSpec() argument
1468 genConditionHandlerCall(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const A & specList,ConditionSpecInfo & csi) genConditionHandlerCall() argument
1564 getVariableBufferRequiredDescriptor(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::parser::Variable & var,Fortran::lower::StatementContext & stmtCtx) getVariableBufferRequiredDescriptor() argument
1582 maybeGetInternalIODescriptor(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & stmt,Fortran::lower::StatementContext & stmtCtx) maybeGetInternalIODescriptor() argument
1595 maybeGetInternalIODescriptor(Fortran::lower::AbstractConverter &,mlir::Location loc,const Fortran::parser::PrintStmt &,Fortran::lower::StatementContext &) maybeGetInternalIODescriptor() argument
1616 lowerReferenceAsStringSelect(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::SomeExpr & expr,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) lowerReferenceAsStringSelect() argument
1699 genFormat(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::parser::Format & format,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) genFormat() argument
1740 getFormat(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & stmt,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) getFormat() argument
1751 getFormat(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::parser::PrintStmt & stmt,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) getFormat() argument
1761 getBuffer(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & stmt,mlir::Type strTy,mlir::Type lenTy,Fortran::lower::StatementContext & stmtCtx) getBuffer() argument
1774 genIOUnitNumber(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::lower::SomeExpr * iounit,mlir::Type ty,ConditionSpecInfo & csi,Fortran::lower::StatementContext & stmtCtx) genIOUnitNumber() argument
1830 genIOUnit(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const Fortran::parser::IoUnit * iounit,mlir::Type ty,ConditionSpecInfo & csi,Fortran::lower::StatementContext & stmtCtx,int defaultUnitNumber) genIOUnit() argument
1846 getIOUnit(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & stmt,mlir::Type ty,ConditionSpecInfo & csi,Fortran::lower::StatementContext & stmtCtx,int defaultUnitNumber) getIOUnit() argument
1862 mlir::Location loc = converter.getCurrentLocation(); genBasicIOStmt() local
1909 genNewunitSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const std::list<Fortran::parser::ConnectSpec> & specList) genNewunitSpec() argument
1939 mlir::Location loc = converter.getCurrentLocation(); genOpenStatement() local
1982 mlir::Location loc = converter.getCurrentLocation(); genWaitStatement() local
2024 getBeginDataTransferFunc(mlir::Location loc,fir::FirOpBuilder & builder,bool isFormatted,bool isListOrNml,bool isInternal,bool isInternalWithDesc) getBeginDataTransferFunc() argument
2078 genBeginDataTransferCallArgs(llvm::SmallVectorImpl<mlir::Value> & ioArgs,Fortran::lower::AbstractConverter & converter,mlir::Location loc,const A & stmt,mlir::FunctionType ioFuncTy,bool isFormatted,bool isListOrNml,bool isInternal,const std::optional<fir::ExtendedValue> & descRef,ConditionSpecInfo & csi,Fortran::lower::StatementContext & stmtCtx) genBeginDataTransferCallArgs() argument
2152 mlir::Location loc = converter.getCurrentLocation(); genDataTransferStmt() local
2282 genInquireSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,mlir::Value idExpr,const A & var,Fortran::lower::StatementContext & stmtCtx) genInquireSpec() argument
2291 genInquireSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,mlir::Value idExpr,const Fortran::parser::InquireSpec::CharVar & var,Fortran::lower::StatementContext & stmtCtx) genInquireSpec() argument
2321 genInquireSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,mlir::Value idExpr,const Fortran::parser::InquireSpec::IntVar & var,Fortran::lower::StatementContext & stmtCtx) genInquireSpec() argument
2358 genInquireSpec(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,mlir::Value idExpr,const Fortran::parser::InquireSpec::LogVar & var,Fortran::lower::StatementContext & stmtCtx) genInquireSpec() argument
2396 lowerIdExpr(Fortran::lower::AbstractConverter & converter,mlir::Location loc,const std::list<Fortran::parser::InquireSpec> & ispecs,Fortran::lower::StatementContext & stmtCtx) lowerIdExpr() argument
2414 threadInquire(Fortran::lower::AbstractConverter & converter,mlir::Location loc,mlir::Value cookie,const std::list<Fortran::parser::InquireSpec> & ispecs,bool checkResult,mlir::Value & ok,Fortran::lower::StatementContext & stmtCtx) threadInquire() argument
2435 mlir::Location loc = converter.getCurrentLocation(); genInquireStatement() local
[all...]
/llvm-project/flang/test/Lower/
H A Dif-loc.f9012 ! CHECK: %[[V_0:[0-9]+]] = fir.address_of(@_QFEn) : !fir.ref<i32> loc("{{.*}}if-loc.f90":3:
13 …{uniq_name = "_QFEn"} : (!fir.ref<i32>) -> (!fir.ref<i32>, !fir.ref<i32>) loc("{{.*}}if-loc.f90":3:
14 ! CHECK: %[[V_2:[0-9]+]] = fir.address_of(@_QFEx) : !fir.ref<i32> loc("{{.*}}if-loc.f90":3:
15 …{uniq_name = "_QFEx"} : (!fir.ref<i32>) -> (!fir.ref<i32>, !fir.ref<i32>) loc("{{.*}}if-loc.f90":3:
16 ! CHECK: %[[V_4:[0-9]+]] = fir.load %[[V_3]]#0 : !fir.ref<i32> loc("{{.*}}if-loc.f90":4:
17 ! CHECK: %[[V_5:[0-9]+]] = arith.cmpi ne, %[[V_4]], %c1{{.*}} : i32 loc("{{.*}}if-loc.f90":4:
18 ! CHECK: %[[V_6:[0-9]+]] = arith.xori %[[V_5]], %true{{[_0-9]*}} : i1 loc("{{.*}}if-loc.f90":4:
20 ! CHECK: %[[V_18:[0-9]+]] = fir.load %[[V_1]]#0 : !fir.ref<i32> loc("{{.*}}if-loc.f90":5:
21 ! CHECK: %[[V_19:[0-9]+]] = arith.addi %[[V_18]], %c1{{.*}} : i32 loc("{{.*}}if-loc.f90":5:
22 ! CHECK: hlfir.assign %[[V_19]] to %[[V_1]]#0 : i32, !fir.ref<i32> loc("{{.*}}if-loc.f90":5:
[all …]
/llvm-project/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td24 // CHECK: def __init__(self, variadic1, non_variadic, *, variadic2=None, loc=None, ip=None):
36 // CHECK: successors=_ods_successors, regions=regions, loc=loc, ip=ip)
63 // CHECK: def attr_sized_operands(variadic1, non_variadic, *, variadic2=None, loc=None, ip=None)
64 // CHECK: return AttrSizedOperandsOp(variadic1=variadic1, non_variadic=non_variadic, variadic2=variadic2, loc=loc, ip=ip)
72 // CHECK: def __init__(self, variadic1, non_variadic, variadic2, *, loc=None, ip=None):
84 // CHECK: successors=_ods_successors, regions=regions, loc=loc, ip=ip)
111 // CHECK: def attr_sized_results(variadic1, non_variadic, variadic2, *, loc
[all...]

12345678910>>...116