OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StructTy
(Results
1 - 15
of
15
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
PatternInit.cpp
78
auto *
StructTy
= cast<llvm::StructType>(Ty);
79
llvm::SmallVector<llvm::Constant *, 8> Struct(
StructTy
->getNumElements());
81
Struct[El] = initializationPatternFor(CGM,
StructTy
->getElementType(El));
82
return llvm::ConstantStruct::get(
StructTy
, Struct);
CGExprConstant.cpp
554
InitListExpr *ILE, QualType
StructTy
);
CGOpenMPRuntime.cpp
1352
llvm::StructType *
StructTy
= RL.getLLVMType();
1360
Fields.add(llvm::Constant::getNullValue(
StructTy
->getElementType(I)));
12497
QualType
StructTy
= std::get<0>(It->getSecond());
12502
CGF.ConvertTypeForMem(CGF.getContext().getPointerType(
StructTy
)));
12504
CGF.MakeAddrLValue(StructAddr,
StructTy
, AlignmentSource::Decl);
/src/external/apache2/llvm/dist/llvm/lib/Target/
Target.cpp
132
unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef
StructTy
,
134
StructType *STy = unwrap<StructType>(
StructTy
);
138
unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef
StructTy
,
140
StructType *STy = unwrap<StructType>(
StructTy
);
/src/external/apache2/llvm/dist/llvm/include/llvm-c/
Target.h
278
unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef
StructTy
,
284
LLVMTypeRef
StructTy
, unsigned Element);
Core.h
1328
void LLVMStructSetBody(LLVMTypeRef
StructTy
, LLVMTypeRef *ElementTypes,
1336
unsigned LLVMCountStructElementTypes(LLVMTypeRef
StructTy
);
1348
void LLVMGetStructElementTypes(LLVMTypeRef
StructTy
, LLVMTypeRef *Dest);
1355
LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef
StructTy
, unsigned i);
1362
LLVMBool LLVMIsPackedStruct(LLVMTypeRef
StructTy
);
1369
LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef
StructTy
);
1376
LLVMBool LLVMIsLiteralStruct(LLVMTypeRef
StructTy
);
2085
LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef
StructTy
,
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
Coroutines.cpp
676
auto *
StructTy
=
678
if (
StructTy
->isOpaque() || !
StructTy
->isPacked() ||
679
StructTy
->getNumElements() != 2 ||
680
!
StructTy
->getElementType(0)->isIntegerTy(32) ||
681
!
StructTy
->getElementType(1)->isIntegerTy(32))
CoroFrame.cpp
866
auto *
StructTy
= cast<StructType>(Ty);
868
for (unsigned I = 0; I <
StructTy
->getNumElements(); I++) {
869
DIType *DITy = solveDIType(Builder,
StructTy
->getElementType(I), Layout,
875
Layout.getStructLayout(
StructTy
)->getElementOffsetInBits(I),
CoroSplit.cpp
460
auto *
StructTy
= cast<StructType>(AsyncSuspend->getType());
463
return FunctionType::get(VoidTy,
StructTy
->elements(), false);
/src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
ConstantInitBuilder.h
328
llvm::Constant *finishStruct(llvm::StructType *
structTy
);
464
llvm::StructType *
StructTy
;
472
llvm::StructType *
structTy
)
473
: super(builder, parent),
StructTy
(
structTy
) {
474
if (
structTy
) this->Packed =
structTy
->isPacked();
484
void suggestType(llvm::StructType *
structTy
) {
485
if (this->size() ==
structTy
->getNumElements()) {
486
StructTy
= structTy
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp
789
StructType *
StructTy
= cast<StructType>(type);
790
const StructLayout *Layout = DL.getStructLayout(
StructTy
);
792
for (unsigned i = 0, E =
StructTy
->getNumElements(); i < E; ++i) {
793
Type *ElTy =
StructTy
->getElementType(i);
/src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm_ocaml.c
537
value llvm_struct_element_types(LLVMTypeRef
StructTy
) {
538
value Tys = caml_alloc_tuple_uninit(LLVMCountStructElementTypes(
StructTy
));
539
LLVMGetStructElementTypes(
StructTy
, (LLVMTypeRef *)Op_val(Tys));
544
value llvm_is_packed(LLVMTypeRef
StructTy
) {
545
return Val_bool(LLVMIsPackedStruct(
StructTy
));
549
value llvm_is_opaque(LLVMTypeRef
StructTy
) {
550
return Val_bool(LLVMIsOpaqueStruct(
StructTy
));
554
value llvm_is_literal(LLVMTypeRef
StructTy
) {
555
return Val_bool(LLVMIsLiteralStruct(
StructTy
));
/src/external/apache2/llvm/dist/llvm/lib/IR/
Core.cpp
728
void LLVMStructSetBody(LLVMTypeRef
StructTy
, LLVMTypeRef *ElementTypes,
731
unwrap<StructType>(
StructTy
)->setBody(Tys, Packed != 0);
734
unsigned LLVMCountStructElementTypes(LLVMTypeRef
StructTy
) {
735
return unwrap<StructType>(
StructTy
)->getNumElements();
738
void LLVMGetStructElementTypes(LLVMTypeRef
StructTy
, LLVMTypeRef *Dest) {
739
StructType *Ty = unwrap<StructType>(
StructTy
);
744
LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef
StructTy
, unsigned i) {
745
StructType *Ty = unwrap<StructType>(
StructTy
);
749
LLVMBool LLVMIsPackedStruct(LLVMTypeRef
StructTy
) {
750
return unwrap<StructType>(
StructTy
)->isPacked()
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CodeExtractor.cpp
855
StructType *
StructTy
= nullptr;
857
StructTy
= StructType::get(M->getContext(), paramTy);
859
paramTy.push_back(PointerType::getUnqual(
StructTy
));
998
StructTy
, &*AI, Idx, "gep_" + inputs[i]->getName(), TI);
999
RewriteVal = new LoadInst(
StructTy
->getElementType(i), GEP,
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h
1159
if (StructType *
StructTy
= dyn_cast<StructType>(DstTy))
1160
DstTy =
StructTy
->getElementType(0);
Completed in 60 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026