Home
last modified time | relevance | path

Searched refs:G1 (Results 1 – 25 of 109) sorted by relevance

12345

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/
H A DExecutionEngineTest.cpp54 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
58 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
60 Engine->updateGlobalMapping(G1, nullptr); in TEST_F()
62 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
80 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
81 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
83 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
91 Engine->updateGlobalMapping(G1, nullptr); in TEST_F()
106 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
123 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Dfixups-expr.s13 .globl G1
16 G1: label
23 .dword G2-G1
25 .word G2-G1
27 .half G2-G1
29 .byte G2-G1
33 # RELAX: 0x8 R_RISCV_SUB64 G1 0x0
37 # RELAX: 0x14 R_RISCV_SUB32 G1 0x0
41 # RELAX: 0x1A R_RISCV_SUB16 G1 0x0
45 # RELAX: 0x1D R_RISCV_SUB8 G1 0x0
/llvm-project-15.0.7/llvm/test/Transforms/EarlyCSE/
H A Dmemoryssa.ll7 @G1 = global i32 zeroinitializer
21 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4
25 %V1 = load i32, ptr @G1
27 %V2 = load i32, ptr @G1
43 ; CHECK-NEXT: [[V1:%.*]] = load i32, ptr @G1, align 4
48 %V1 = load i32, ptr @G1
50 store i32 %V1, ptr @G1
83 %v1 = load i32, ptr @G1
92 %v2 = load i32, ptr @G1
128 %v1 = load i32, ptr @G1
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.cpp58 Reserved.set(SP::G1); in getReservedRegs()
132 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI()
137 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI()
140 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
150 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI()
152 BuildMI(*MI.getParent(), II, dl, TII.get(SP::XORri), SP::G1) in replaceFI()
153 .addReg(SP::G1).addImm(LOX10(Offset)); in replaceFI()
155 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI()
158 MI.getOperand(FIOperandNum).ChangeToRegister(SP::G1, false); in replaceFI()
H A DSparcFrameLowering.cpp64 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
66 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) in emitSPAdjustment()
67 .addReg(SP::G1).addImm(LO10(NumBytes)); in emitSPAdjustment()
69 .addReg(SP::O6).addReg(SP::G1); in emitSPAdjustment()
77 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
79 BuildMI(MBB, MBBI, dl, TII.get(SP::XORri), SP::G1) in emitSPAdjustment()
80 .addReg(SP::G1).addImm(LOX10(NumBytes)); in emitSPAdjustment()
82 .addReg(SP::O6).addReg(SP::G1); in emitSPAdjustment()
177 regUnbiased = SP::G1; in emitPrologue()
238 BuildMI(MBB, MBBI, dl, TII.get(SP::ORrr), SP::G1) in emitEpilogue()
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Ddeoptimize.ll4 @G1 = external global i32
21 ; Check that global G1 is reported as Ref by memcpy/memmove calls.
26 ; CHECK: Just Ref: Ptr: i32* @G1 <-> call void @llvm.memcpy.p0i8.p0i8.i64(i8* %A, i8* %B, i64 -1,…
33 …store i32 2, i32* @G1 ;; Not referenced by semantics of memcpy but still may be read due to "deop…
37 %C = load i32, i32* @G1
45 ; CHECK: Just Ref: Ptr: i32* @G1 <-> call void @llvm.memmove.p0i8.p0i8.i64(i8* %A, i8* %B, i64 -1…
52 …store i32 2, i32* @G1 ;; Not referenced by semantics of memcpy but still may be read due to "deop…
56 %C = load i32, i32* @G1
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Ddeadglobal.ll3 @G1 = internal global i32 123 ; <i32*> [#uses=1]
4 @A1 = internal alias i32, i32* @G1
6 ; CHECK-NOT: @G1
15 store i32 1, i32* @G1
H A Dmemcpy.ll2 ; CHECK: G1 = internal unnamed_addr constant
4 @G1 = internal global [58 x i8] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00" …
9 …align 1 %tmp.0, i8* align 1 getelementptr inbounds ([58 x i8], [58 x i8]* @G1, i32 0, i32 0), i32 …
H A Dglobal-demotion.ll3 @G1 = internal global i32 5
11 ; CHECK-NOT: @G1
12 store i32 4, i32* @G1
13 %a = load i32, i32* @G1
/llvm-project-15.0.7/llvm/test/CodeGen/XCore/
H A Dglobals.ll6 ; CHECK: ldaw r0, dp[G1]
7 ret i32* @G1
83 @G1 = global i32 4712
85 ; CHECK: G1:
99 @G4 = global i32* @G1
103 @G5 = unnamed_addr constant i32* @G1
107 @iG5 = internal unnamed_addr constant i32* @G1
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dglobal-sections-tls.ll4 @G1 = internal thread_local global i32 0 ; <ptr> [#uses=1]
6 ; LINUX: G1:
11 ret ptr @G1
H A Dextend.ll4 @G1 = internal global i8 0 ; <ptr> [#uses=1]
10 ; CHECK-NEXT: movzx eax, byte ptr [G1]
13 %tmp.0 = load i8, ptr @G1 ; <i8> [#uses=1]
/llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.spaceship/
H A Dp1.cpp68 struct G1 { struct
69 bool operator==(const G1&) const;
70 void operator<(const G1&) const;
103 …Cmp<G1>() <=> Cmp<G1>(), // expected-note-re {{in defaulted three-way comparison operator for '{{.… in f()
134 …CmpArray<G1>() <=> CmpArray<G1>(), // expected-note-re {{in defaulted three-way comparison operato… in g()
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dinsert-crash-index.ll9 ; CHECK-NEXT: [[G1:%.*]] = getelementptr inbounds i8, i8* [[IN]], i64 1
10 ; CHECK-NEXT: [[IN1:%.*]] = load i8, i8* [[G1]], align 4
30 ; CHECK-NEXT: [[G1:%.*]] = getelementptr inbounds i8, i8* [[IN]], i64 1
31 ; CHECK-NEXT: [[IN1:%.*]] = load i8, i8* [[G1]], align 4
51 ; CHECK-NEXT: [[G1:%.*]] = getelementptr inbounds i8, i8* [[IN]], i64 1
52 ; CHECK-NEXT: [[IN1:%.*]] = load i8, i8* [[G1]], align 4
/llvm-project-15.0.7/llvm/test/Feature/
H A Dconst_pv.ll4 @G1 = global i8 zeroinitializer
5 @g = constant <2 x i8*> getelementptr (i8, <2 x i8*> <i8* @G1, i8* @G1>, <2 x i32> <i32 0, i32 0>)
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Ddityperefs-3.8.ll9 ; CHECK: @G1 = global i32 0
22 ; CHECK-NEXT: !11 = !DITemplateValueParameter(type: !1, value: i32* @G1)
39 !10 = !DIGlobalVariable(name: "G", type: !"T1", isDefinition: false, variable: i32* @G1)
40 !11 = !DITemplateValueParameter(type: !"T1", value: i32* @G1)
47 @G1 = global i32 0
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dstatic-cast.cpp9 struct G1 : public B {}; struct
11 struct H : public G1, public G2 {}; // Ambiguous path to B.
80 (void)static_cast<const G1*>((A*)0); in t_529_5_8()
81 (void)static_cast<const G1&>(*((A*)0)); in t_529_5_8()
H A Dcstyle-cast.cpp52 struct G1 : public B {}; struct
54 struct H : public G1, public G2 {}; // Ambiguous path to B.
117 (void)(const G1*)((A*)0); in t_529_5_8()
118 (void)(const G1&)(*((A*)0)); in t_529_5_8()
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/ArgumentPromotion/
H A Dchained.ll7 @G1 = constant i32 0
8 @G2 = constant i32* @G1
11 ; CHECK: @[[G1:[a-zA-Z0-9_$"\\.-]+]] = constant i32 0
12 ; CHECK: @[[G2:[a-zA-Z0-9_$"\\.-]+]] = constant i32* @G1
20 ; CHECK-NEXT: [[Z:%.*]] = load i32, i32* @G1, align 4
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSCCIterator.h275 NodeInfo *G1 = find(&NodeInfoMap[Edge->Source]); in unionGroups() local
279 if (G1 == G2) in unionGroups()
283 if (G1->Rank < G1->Rank) in unionGroups()
284 G1->Group = G2; in unionGroups()
286 G2->Group = G1; in unionGroups()
288 if (G1->Rank == G2->Rank) in unionGroups()
/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-call16.s25 # GOT: {{.*}}: [[G1:[0-9a-f]+]] {{.*}} g1
29 # GOT: {{.*}} -32744(gp) [[G1]] [[G1]] FUNC 7 g1
/llvm-project-15.0.7/clang/test/Sema/
H A Dms_bitfield_layout.c277 typedef union G1 { union
283 } G1; typedef
338 sizeof(G1) +
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Di128-global.ll4 ; CHECK: .visible .global .align 16 .b8 G1[16] = {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
5 @G1 = global i128 1
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dconstant-fold-alias.ll5 @G1 = global i32 42, align 1
13 ; This cannot be constant folded because G1 is underaligned.
16 ret i64 and (i64 ptrtoint (i32* @G1 to i64), i64 1)
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64A57FPLoadBalancing.cpp454 llvm::sort(GV, [](const Chain *G1, const Chain *G2) { in colorChainSet() argument
455 if (G1->size() != G2->size()) in colorChainSet()
456 return G1->size() > G2->size(); in colorChainSet()
457 if (G1->requiresFixup() != G2->requiresFixup()) in colorChainSet()
458 return G1->requiresFixup() > G2->requiresFixup(); in colorChainSet()
460 assert((G1 == G2 || (G1->startsBefore(G2) ^ G2->startsBefore(G1))) && in colorChainSet()
462 return G1->startsBefore(G2); in colorChainSet()

12345