OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Comdat
(Results
1 - 10
of
10
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/IR/
Comdat.cpp
1
//===-
Comdat
.cpp - Implement Metadata classes ----------------------------===//
9
// This file implements the
Comdat
class (including the C bindings).
13
#include "llvm-c/
Comdat
.h"
16
#include "llvm/IR/
Comdat
.h"
22
Comdat
::
Comdat
(
Comdat
&&C) : Name(C.Name), SK(C.SK) {}
24
Comdat
::
Comdat
() = default;
26
StringRef
Comdat
::getName() const { return Name->first();
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Comdat.h
1
//===- llvm/IR/
Comdat
.h -
Comdat
definitions --------------------*- C++ -*-===//
10
/// This file contains the declaration of the
Comdat
class, which represents a
11
/// single
COMDAT
in LLVM.
31
class
Comdat
{
34
Any, ///< The linker may choose any
COMDAT
.
35
ExactMatch, ///< The data referenced by the
COMDAT
must be the same.
36
Largest, ///< The linker will choose the largest
COMDAT
.
37
NoDuplicates, ///< No other Module may specify this
COMDAT
.
38
SameSize, ///< The data referenced by the
COMDAT
must be the same size
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-lto2/
llvm-lto2.cpp
449
int
Comdat
= Sym.getComdatIndex();
450
if (
Comdat
!= -1)
451
outs() << "
comdat
" << ComdatTable[
Comdat
] << '\n';
/src/external/apache2/llvm/dist/llvm/lib/Object/
IRSymtab.cpp
18
#include "llvm/IR/
Comdat
.h"
80
DenseMap<const
Comdat
*, int> ComdatMap;
84
std::vector<storage::
Comdat
> Comdats;
107
Expected<int> getComdatIndex(const
Comdat
*C, const Module *M);
179
Expected<int> Builder::getComdatIndex(const
Comdat
*C, const Module *M) {
200
storage::
Comdat
Comdat
;
201
setStr(
Comdat
.Name, Saver.save(Name));
202
Comdats.push_back(
Comdat
);
287
return make_error<StringError>("Unable to determine
comdat
of alias!"
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/Object/
IRSymtab.h
80
/// This is equivalent to an IR
comdat
.
81
struct
Comdat
{
95
/// The index into Header::Comdats, or -1 if not a
comdat
member.
144
Range<
Comdat
> Comdats;
184
/// Returns the index into the
comdat
table (see Reader::getComdatTable()), or
185
/// -1 if not a
comdat
member.
236
ArrayRef<storage::
Comdat
> Comdats;
Wasm.h
112
uint32_t
Comdat
= UINT32_MAX; // From the "
comdat
info" section
/src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
Wasm.h
144
uint32_t
Comdat
; // from the "
comdat
info" section
158
uint32_t
Comdat
; // from the "
comdat
info" section
/src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
WasmYAML.h
177
struct
Comdat
{
242
std::vector<
Comdat
> Comdats;
427
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::
Comdat
)
549
template <> struct MappingTraits<WasmYAML::
Comdat
> {
550
static void mapping(IO &IO, WasmYAML::
Comdat
&
Comdat
);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetLoweringObjectFileImpl.cpp
30
#include "llvm/IR/
Comdat
.h"
343
// we put each descriptor in a separate
comdat
section and rely on the
529
static const
Comdat
*getELFComdat(const GlobalValue *GV) {
530
const
Comdat
*C = GV->getComdat();
534
if (C->getSelectionKind() !=
Comdat
::Any &&
535
C->getSelectionKind() !=
Comdat
::NoDuplicates)
689
if (const
Comdat
*C = getELFComdat(GO)) {
691
IsComdat = C->getSelectionKind() ==
Comdat
::Any;
801
if (const
Comdat
*C = getELFComdat(GO)) {
804
IsComdat = C->getSelectionKind() ==
Comdat
::Any
[
all
...]
/src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
ir.go
17
#include "llvm-c/
Comdat
.h"
40
Comdat
struct {
1104
// Operations on
comdat
1105
func (m Module)
Comdat
(name string) (c
Comdat
) {
1112
func (v Value)
Comdat
() (c
Comdat
) { c.C = C.LLVMGetComdat(v.C); return }
1113
func (v Value) SetComdat(c
Comdat
) { C.LLVMSetComdat(v.C, c.C) }
1115
func (c
Comdat
) SelectionKind() ComdatSelectionKind {
1119
func (c
Comdat
) SetSelectionKind(k ComdatSelectionKind)
[
all
...]
Completed in 22 milliseconds
Indexes created Sat Jun 13 00:24:39 UTC 2026