Home
last modified time | relevance | path

Searched refs:GlobalVariable (Results 1 – 25 of 4687) sorted by relevance

12345678910>>...188

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/eval/
H A DVariableTest.java18 import org.eclipse.jdt.internal.eval.GlobalVariable;
73 GlobalVariable[] vars = this.context.allVariables(); in testAllKindOfValues()
88 GlobalVariable var1 = this.context.newVariable("int".toCharArray(), "var1".toCharArray(), null); in testCodeSnippetVarAssign()
90 GlobalVariable var3 = this.context.newVariable("char".toCharArray(), "var3".toCharArray(), null); in testCodeSnippetVarAssign()
91 GlobalVariable var4 = this.context.newVariable("float".toCharArray(), "var4".toCharArray(), null); in testCodeSnippetVarAssign()
92GlobalVariable var5 = this.context.newVariable("double".toCharArray(), "var5".toCharArray(), null); in testCodeSnippetVarAssign()
93 GlobalVariable var6 = this.context.newVariable("short".toCharArray(), "var6".toCharArray(), null); in testCodeSnippetVarAssign()
94 GlobalVariable var7 = this.context.newVariable("long".toCharArray(), "var7".toCharArray(), null); in testCodeSnippetVarAssign()
139 GlobalVariable[] vars = this.context.allVariables(); in testCodeSnippetVarAssign()
183 GlobalVariable[] vars = this.context.allVariables(); in testCodeSnippetVarRetrieval()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/test/Dialect/SPIRV/Transforms/
H A Dlayout-decoration.mlir64 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(vector<2xi32>, f32)>, StorageBuffer>
67 spv.GlobalVariable @var1 : !spv.ptr<!spv.struct<(vector<3xi32>, f32)>, StorageBuffer>
70 spv.GlobalVariable @var2 : !spv.ptr<!spv.struct<(vector<4xi32>, f32)>, StorageBuffer>
80 spv.GlobalVariable @arrayType : !spv.ptr<!spv.array<4x!spv.array<4xf32>>, StorageBuffer>
83 spv.GlobalVariable @InputStorage : !spv.ptr<!spv.struct<(!spv.array<256xf32>)>, Input>
86 spv.GlobalVariable @customLayout : !spv.ptr<!spv.struct<(f32 [256], i32 [512])>, Uniform>
88 // CHECK: spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
89 spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
95 // CHECK: spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32 [0])>, PushConstant>
96 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32)>, PushConstant>
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/test/Dialect/SPIRV/Transforms/
H A Dlayout-decoration.mlir64 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(vector<2xi32>, f32)>, StorageBuffer>
67 spv.GlobalVariable @var1 : !spv.ptr<!spv.struct<(vector<3xi32>, f32)>, StorageBuffer>
70 spv.GlobalVariable @var2 : !spv.ptr<!spv.struct<(vector<4xi32>, f32)>, StorageBuffer>
80 spv.GlobalVariable @arrayType : !spv.ptr<!spv.array<4x!spv.array<4xf32>>, StorageBuffer>
83 spv.GlobalVariable @InputStorage : !spv.ptr<!spv.struct<(!spv.array<256xf32>)>, Input>
86 spv.GlobalVariable @customLayout : !spv.ptr<!spv.struct<(f32 [256], i32 [512])>, Uniform>
88 // CHECK: spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
89 spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
95 // CHECK: spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32 [0])>, PushConstant>
96 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32)>, PushConstant>
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/test/Dialect/SPIRV/Transforms/
H A Dlayout-decoration.mlir64 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(vector<2xi32>, f32)>, StorageBuffer>
67 spv.GlobalVariable @var1 : !spv.ptr<!spv.struct<(vector<3xi32>, f32)>, StorageBuffer>
70 spv.GlobalVariable @var2 : !spv.ptr<!spv.struct<(vector<4xi32>, f32)>, StorageBuffer>
80 spv.GlobalVariable @arrayType : !spv.ptr<!spv.array<4x!spv.array<4xf32>>, StorageBuffer>
83 spv.GlobalVariable @InputStorage : !spv.ptr<!spv.struct<(!spv.array<256xf32>)>, Input>
86 spv.GlobalVariable @customLayout : !spv.ptr<!spv.struct<(f32 [256], i32 [512])>, Uniform>
88 // CHECK: spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
89 spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
95 // CHECK: spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32 [0])>, PushConstant>
96 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32)>, PushConstant>
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/test/Dialect/SPIRV/Transforms/
H A Dlayout-decoration.mlir64 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(vector<2xi32>, f32)>, StorageBuffer>
67 spv.GlobalVariable @var1 : !spv.ptr<!spv.struct<(vector<3xi32>, f32)>, StorageBuffer>
70 spv.GlobalVariable @var2 : !spv.ptr<!spv.struct<(vector<4xi32>, f32)>, StorageBuffer>
80 spv.GlobalVariable @arrayType : !spv.ptr<!spv.array<4x!spv.array<4xf32>>, StorageBuffer>
83 spv.GlobalVariable @InputStorage : !spv.ptr<!spv.struct<(!spv.array<256xf32>)>, Input>
86 spv.GlobalVariable @customLayout : !spv.ptr<!spv.struct<(f32 [256], i32 [512])>, Uniform>
88 // CHECK: spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
89 spv.GlobalVariable @emptyStruct : !spv.ptr<!spv.struct<()>, Uniform>
95 // CHECK: spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32 [0])>, PushConstant>
96 spv.GlobalVariable @var0 : !spv.ptr<!spv.struct<(i32)>, PushConstant>
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
59 static bool IsBetterCanonical(const GlobalVariable &A, in IsBetterCanonical()
80 GlobalVariable *To) { in copyDebugLocMetadata()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
182 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
171 GlobalVariable *LDSPointer = new GlobalVariable( in createLDSPointer()
215 GlobalVariable *LDSPointer) { in initializeLDSPointer()
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
285 GlobalVariable *LDSPointer) { in getReplacementInst()
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr; in replaceLDSUse()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
171 GlobalVariable *LDSPointer = new GlobalVariable( in createLDSPointer()
215 GlobalVariable *LDSPointer) { in initializeLDSPointer()
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
285 GlobalVariable *LDSPointer) { in getReplacementInst()
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr; in replaceLDSUse()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
171 GlobalVariable *LDSPointer = new GlobalVariable( in createLDSPointer()
215 GlobalVariable *LDSPointer) { in initializeLDSPointer()
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
285 GlobalVariable *LDSPointer) { in getReplacementInst()
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr; in replaceLDSUse()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
171 GlobalVariable *LDSPointer = new GlobalVariable( in createLDSPointer()
215 GlobalVariable *LDSPointer) { in initializeLDSPointer()
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
285 GlobalVariable *LDSPointer) { in getReplacementInst()
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr; in replaceLDSUse()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
171 GlobalVariable *LDSPointer = new GlobalVariable( in createLDSPointer()
215 GlobalVariable *LDSPointer) { in initializeLDSPointer()
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
285 GlobalVariable *LDSPointer) { in getReplacementInst()
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr; in replaceLDSUse()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<GlobalVariable *, GlobalVariable *> LDSToPointer;
124 DenseMap<Function *, DenseMap<GlobalVariable *, Value *>>
144 bool shouldIgnorePointerReplacement(GlobalVariable *GV) {
160 GlobalVariable *createLDSPointer(GlobalVariable *GV) {
171 GlobalVariable *LDSPointer = new GlobalVariable(
215 GlobalVariable *LDSPointer) {
240 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) {
285 GlobalVariable *LDSPointer) {
332 bool replaceLDSUse(GlobalVariable *GV);
342 GlobalVariable *LDSPointer = nullptr;
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
103 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
114 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
140 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
142 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
156 GlobalVariable *GV = &*GVI++; in mergeConstants()
183 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
202 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment()
95 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
103 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
114 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
140 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
142 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
156 GlobalVariable *GV = &*GVI++; in mergeConstants()
183 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
202 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment()
95 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment()
95 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
103 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
114 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
140 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
142 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
156 GlobalVariable *GV = &*GVI++; in mergeConstants()
183 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
202 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp46 static void FindUsedValues(GlobalVariable *LLVMUsed, in FindUsedValues()
87 static Align getAlign(GlobalVariable *GV) { in getAlign()
93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable()
116 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace()
142 DenseMap<Constant *, GlobalVariable *> CMap; in mergeConstants()
144 SmallVector<std::pair<GlobalVariable *, GlobalVariable *>, 32> in mergeConstants()
158 GlobalVariable *GV = &*GVI++; in mergeConstants()
185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants()
204 GlobalVariable *GV = &*GVI++; in mergeConstants()
[all …]

12345678910>>...188