Home
last modified time | relevance | path

Searched refs:GR (Results 1 – 25 of 57) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp56 Register Reg = GR->find(GV, &MF); in addConstantsToTrack()
62 Register Reg = GR->find(Const, &MF); in addConstantsToTrack()
153 SpirvTy = GR->getSPIRVTypeForVReg(Reg); in propagateSPIRVType()
214 .addUse(GR->getSPIRVTypeID(SpirvTy)); in insertAssignInstr()
356 processInstr(MI, MIB, MRI, GR); in processInstrsWithTypeFolding()
486 GR->setCurrentFunc(MF); in runOnMachineFunction()
488 addConstantsToTrack(MF, GR); in runOnMachineFunction()
490 insertBitcasts(MF, GR, MIB); in runOnMachineFunction()
491 generateAssignInstrs(MF, GR, MIB); in runOnMachineFunction()
492 processInstrsWithTypeFolding(MF, GR, MIB); in runOnMachineFunction()
[all …]
H A DSPIRVInstructionSelector.cpp45 SPIRVGlobalRegistry &GR; member in __anonead1b6700111::SPIRVInstructionSelector
196 GR.setCurrentFunc(MF); in setupMF()
403 .addUse(GR.getSPIRVTypeID(ResType)) in selectUnOpWithSrc()
527 .addUse(GR.getSPIRVTypeID(ResType)) in selectAtomicRMW()
787 .addUse(GR.getSPIRVTypeID(ResType)) in selectBitreverse()
879 Register NewReg = GR.find(ConstInt, GR.CurMF); in buildI32Constant()
882 GR.add(ConstInt, GR.CurMF, NewReg); in buildI32Constant()
988 .addUse(GR.getSPIRVTypeID(IntTy)) in selectIntToBool()
994 .addUse(GR.getSPIRVTypeID(BoolTy)) in selectIntToBool()
1317 Register NewReg = GR.find(ConstVal, GR.CurMF); in selectGlobalValue()
[all …]
H A DSPIRVCallLowering.cpp27 SPIRVGlobalRegistry *GR) in SPIRVCallLowering() argument
28 : CallLowering(&TLI), GR(GR) {} in SPIRVCallLowering()
122 GR->setCurrentFunc(MIRBuilder.getMF()); in lowerFormalArguments()
214 GR->add(&F, &MIRBuilder.getMF(), FuncVReg); in lowerFormalArguments()
224 .addUse(GR->getSPIRVTypeID(RetTy)) in lowerFormalArguments()
226 .addUse(GR->getSPIRVTypeID(FuncTy)); in lowerFormalArguments()
235 .addUse(GR->getSPIRVTypeID(ArgTypeVRegs[i])); in lowerFormalArguments()
237 GR->add(&Arg, &MIRBuilder.getMF(), VRegs[i][0]); in lowerFormalArguments()
268 GR->setCurrentFunc(MF); in lowerCall()
286 !GR->find(CF, &MIRBuilder.getMF()).isValid()) { in lowerCall()
[all …]
H A DSPIRVLegalizerInfo.cpp61 GR = ST.getSPIRVGlobalRegistry(); in SPIRVLegalizerInfo()
265 SPIRVGlobalRegistry *GR) { in convertPtrToInt() argument
267 GR->assignSPIRVTypeToVReg(SpirvType, ConvReg, Helper.MIRBuilder.getMF()); in convertPtrToInt()
280 assert(GR->getSPIRVTypeForVReg(MI.getOperand(0).getReg())); in legalizeCustom()
293 SPIRVType *SpirvTy = GR->getOrCreateSPIRVType(LLVMTy, Helper.MIRBuilder); in legalizeCustom()
294 Op0.setReg(convertPtrToInt(Reg0, ConvT, SpirvTy, Helper, MRI, GR)); in legalizeCustom()
295 Op1.setReg(convertPtrToInt(Reg1, ConvT, SpirvTy, Helper, MRI, GR)); in legalizeCustom()
H A DSPIRVCallLowering.h27 SPIRVGlobalRegistry *GR;
30 SPIRVCallLowering(const SPIRVTargetLowering &TLI, SPIRVGlobalRegistry *GR);
H A DSPIRVSubtarget.cpp48 GR = std::make_unique<SPIRVGlobalRegistry>(PointerSize); in SPIRVSubtarget()
49 CallLoweringInfo = std::make_unique<SPIRVCallLowering>(TLInfo, GR.get()); in SPIRVSubtarget()
H A DSPIRVSubtarget.h41 std::unique_ptr<SPIRVGlobalRegistry> GR; variable
66 SPIRVGlobalRegistry *getSPIRVGlobalRegistry() const { return GR.get(); } in getSPIRVGlobalRegistry()
H A DSPIRVLegalizerInfo.h29 SPIRVGlobalRegistry *GR; variable
H A DSPIRVModuleAnalysis.h144 SPIRVGlobalRegistry *GR; member
/llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/
H A DGSYMTest.cpp1012 ASSERT_TRUE(bool(GR)); in TestEncodeDecode()
1020 Compare(GC, GR.get()); in TestEncodeDecode()
1227 ASSERT_TRUE(bool(GR)); in TEST()
1234 LR = GR->lookup(0x100F); in TEST()
1239 LR = GR->lookup(0x1010); in TEST()
1246 LR = GR->lookup(0x1012); in TEST()
1253 LR = GR->lookup(0x1014); in TEST()
1259 LR = GR->lookup(0x1016); in TEST()
1266 LR = GR->lookup(0x1018); in TEST()
1272 LR = GR->lookup(0x1020); in TEST()
[all …]
/llvm-project-15.0.7/clang/tools/diagtool/
H A DTreeView.cpp52 for (const GroupRecord &GR : Group.subgroups()) { in enabledByDefault() local
53 if (!enabledByDefault(GR)) in enabledByDefault()
73 for (const GroupRecord &GR : Group.subgroups()) { in printGroup() local
74 printGroup(GR, Indent); in printGroup()
110 for (const GroupRecord &GR : AllGroups) { in showAll() local
111 for (auto SI = GR.subgroup_begin(), SE = GR.subgroup_end(); SI != SE; in showAll()
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp108 static bool lookup(const GsymReader &GR, DataExtractor &Data, uint64_t &Offset, in lookup() argument
134 Done = lookup(GR, Data, Offset, ChildBaseAddr, Addr, SrcLocs, Err); in lookup()
137 Optional<FileEntry> CallFile = GR.getFile(Inline.CallFile); in lookup()
149 SrcLoc.Dir = GR.getString(CallFile->Dir); in lookup()
150 SrcLoc.Base = GR.getString(CallFile->Base); in lookup()
152 SrcLocs.back().Name = GR.getString(Inline.Name); in lookup()
159 llvm::Error InlineInfo::lookup(const GsymReader &GR, DataExtractor &Data, in lookup() argument
165 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup()
H A DFunctionInfo.cpp154 const GsymReader &GR, in lookup() argument
179 LR.FuncName = GR.getString(NameOffset); in lookup()
229 Optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File); in lookup()
238 SrcLoc.Dir = GR.getString(LineEntryFile->Dir); in lookup()
239 SrcLoc.Base = GR.getString(LineEntryFile->Base); in lookup()
247 llvm::Error Err = InlineInfo::lookup(GR, *InlineInfoData, FuncAddr, Addr, in lookup()
H A DGsymReader.cpp54 GsymReader GR(std::move(MemBuffer)); in create() local
55 llvm::Error Err = GR.parse(); in create()
58 return std::move(GR); in create()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dcontent-array.yaml86 # RUN: llvm-readobj --sections --section-data %t4.gr | FileCheck %s --check-prefix=SIZE-GR
88 # SIZE-GR: Name: .foo
89 # SIZE-GR: SectionData (
90 # SIZE-GR-NEXT: 0000: 112200 |
91 # SIZE-GR-NEXT: )
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dverneed-invalid.test261 # LLVM-OFFSET-GR-NEXT: Dependency {
262 # LLVM-OFFSET-GR-NEXT: Version: 1
263 # LLVM-OFFSET-GR-NEXT: Count: 1
265 # LLVM-OFFSET-GR-NEXT: Entries [
266 # LLVM-OFFSET-GR-NEXT: Entry {
267 # LLVM-OFFSET-GR-NEXT: Hash: 0
269 # LLVM-OFFSET-GR-NEXT: ]
272 # LLVM-OFFSET-GR-NEXT: }
273 # LLVM-OFFSET-GR-NEXT: ]
274 # LLVM-OFFSET-GR-NEXT: }
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-graph.cpp463 xray::GraphRenderer GR(FuncIdHelper, DeduceSiblingCalls); in getGraphRenderer() local
465 auto E = GR.accountRecord(Record); in getGraphRenderer()
469 for (const auto &ThreadStack : GR.getPerThreadFunctionStack()) { in getGraphRenderer()
487 GR.G.GraphEdgeMax = {}; in getGraphRenderer()
488 GR.G.GraphVertexMax = {}; in getGraphRenderer()
489 GR.calculateEdgeStatistics(); in getGraphRenderer()
490 GR.calculateVertexStatistics(); in getGraphRenderer()
493 GR.normalizeStatistics(Header.CycleFrequency); in getGraphRenderer()
495 return GR; in getGraphRenderer()
524 auto &GR = *GROrError; in __anona1e4ec780302() local
[all …]
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/Archives/
H A Dregular.yaml36 # RUN: wc -c < %t.magic2.a | FileCheck %s --check-prefix=MAGIC-SIZE-GR
37 # RUN: od -t x1 -v %t.magic2.a | FileCheck %s --ignore-case --check-prefix=MAGIC-DATA-GR
39 # MAGIC-SIZE-GR: 9{{$}}
40 # MAGIC-DATA-GR: 31 32 33 34 35 36 37 38 39
/llvm-project-15.0.7/lld/test/COFF/
H A Dpdb-globals-dia-vfunc-simple.test20 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
H A Dpdb-globals-dia-vfunc-collision2.test18 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj
H A Dpdb-globals-dia-vfunc-collision.test27 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision.obj
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DInlineInfo.h121 static llvm::Error lookup(const GsymReader &GR, DataExtractor &Data,
H A DFunctionInfo.h167 const GsymReader &GR,
/llvm-project-15.0.7/libunwind/src/
H A DCMakeLists.txt141 target_compile_options(unwind_shared_objects PRIVATE /GR-)
178 target_compile_options(unwind_static_objects PRIVATE /GR-)
/llvm-project-15.0.7/llvm/test/MC/SystemZ/
H A Ddirective-insn.s42 # Test FP and GR registers in a single directive.

123