Home
last modified time | relevance | path

Searched refs:Alignments (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp392 Alignments == Other.Alignments && Pointers == Other.Pointers; in operator ==()
415 for (LayoutAlignElem &Elem : Alignments) { in setAlignment()
425 Alignments.push_back(LayoutAlignElem::get(align_type, abi_align, in setAlignment()
463 for (unsigned i = 0, e = Alignments.size(); i != e; ++i) { in getAlignmentInfo()
464 if (Alignments[i].AlignType == (unsigned)AlignType && in getAlignmentInfo()
465 Alignments[i].TypeBitWidth == BitWidth) in getAlignmentInfo()
466 return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign; in getAlignmentInfo()
470 Alignments[i].AlignType == INTEGER_ALIGN) { in getAlignmentInfo()
473 if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 || in getAlignmentInfo()
474 Alignments[i].TypeBitWidth < Alignments[BestMatchIdx].TypeBitWidth)) in getAlignmentInfo()
[all …]
/external/llvm-project/llvm/tools/llvm-lipo/
Dllvm-lipo.cpp530 const StringMap<const uint32_t> &Alignments) { in updateAlignments() argument
532 auto Alignment = Alignments.find(Slice.getArchString()); in updateAlignments()
533 if (Alignment != Alignments.end()) in updateAlignments()
539 const StringMap<const uint32_t> &Alignments) { in checkUnusedAlignments() argument
545 for (StringRef Arch : Alignments.keys()) in checkUnusedAlignments()
556 const StringMap<const uint32_t> &Alignments, in buildSlices() argument
599 updateAlignments(Slices, Alignments); in buildSlices()
605 const StringMap<const uint32_t> &Alignments, in createUniversalBinary() argument
612 buildSlices(InputBinaries, Alignments, ExtractedObjects); in createUniversalBinary()
614 checkUnusedAlignments(Slices, Alignments); in createUniversalBinary()
[all …]
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp544 Alignments == Other.Alignments && Pointers == Other.Pointers; in operator ==()
553 return partition_point(Alignments, [=](const LayoutAlignElem &E) { in findAlignmentLowerBound()
572 if (I != Alignments.end() && in setAlignment()
579 Alignments.insert(I, LayoutAlignElem::get(align_type, abi_align, in setAlignment()
629 if (I == Alignments.end() || I->AlignType != INTEGER_ALIGN) in getIntegerAlignment()
660 Alignments.clear(); in clear()
760 const LayoutAlignElem &AggregateAlign = Alignments[0]; in getAlignment()
780 if (I != Alignments.end() && I->AlignType == FLOAT_ALIGN && in getAlignment()
797 if (I != Alignments.end() && I->AlignType == VECTOR_ALIGN && in getAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp471 Alignments == Other.Alignments && Pointers == Other.Pointers; in operator ==()
480 return partition_point(Alignments, [=](const LayoutAlignElem &E) { in findAlignmentLowerBound()
499 if (I != Alignments.end() && in setAlignment()
506 Alignments.insert(I, LayoutAlignElem::get(align_type, abi_align, in setAlignment()
546 if (I != Alignments.end() && I->AlignType == (unsigned)AlignType && in getAlignmentInfo()
552 if (I != Alignments.begin()) { in getAlignmentInfo()
603 Alignments.clear(); in clear()
/external/llvm/include/llvm/IR/
DDataLayout.h121 SmallVector<LayoutAlignElem, 16> Alignments; variable
200 Alignments = DL.Alignments;
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h147 AlignmentsTy Alignments; variable
221 Alignments = DL.Alignments;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h145 AlignmentsTy Alignments; variable
217 Alignments = DL.Alignments;
/external/llvm-project/clang/lib/CodeGen/
DCGNonTrivialStruct.cpp326 std::array<CharUnits, N> Alignments, in getParamAddrs() argument
331 Alignments[Ints])...}}; in getParamAddrs()
442 std::array<CharUnits, N> Alignments, in getFunction()
484 getParamAddrs<N>(std::make_index_sequence<N>{}, Alignments, Args, CGF); in getFunction()
493 std::array<CharUnits, N> Alignments; in callFunc() local
497 Alignments[I] = Addrs[I].getAlignment(); in callFunc()
504 getFunction(FuncName, QT, Alignments, CallerCGF.CGM)) in callFunc()
845 std::array<CharUnits, N> Alignments, CodeGenModule &CGM) { in getSpecialFunction() argument
850 return Gen.getFunction(FuncName, QT, Alignments, CGM); in getSpecialFunction()
/external/libvpx/libvpx/test/
Dbyte_alignment_test.cc179 INSTANTIATE_TEST_CASE_P(Alignments, ByteAlignmentTest,
/external/clang/lib/Parse/
DParseOpenMP.cpp423 SmallVectorImpl<Expr *> &Alignments, SmallVectorImpl<Expr *> &Linears, in parseDeclareSimdClauses() argument
472 Alignments.append(Aligneds.size() - Alignments.size(), Data.TailExpr); in parseDeclareSimdClauses()
507 SmallVector<Expr *, 4> Alignments; in ParseOMPDeclareSimdClauses() local
513 Alignments, Linears, LinModifiers, Steps); in ParseOMPDeclareSimdClauses()
525 Ptr, BS, Simdlen.get(), Uniforms, Aligneds, Alignments, Linears, in ParseOMPDeclareSimdClauses()
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp695 SmallVectorImpl<Expr *> &Alignments, SmallVectorImpl<Expr *> &Linears, in parseDeclareSimdClauses() argument
746 Alignments.append(Aligneds.size() - Alignments.size(), in parseDeclareSimdClauses()
788 SmallVector<Expr *, 4> Alignments; in ParseOMPDeclareSimdClauses() local
794 Alignments, Linears, LinModifiers, Steps); in ParseOMPDeclareSimdClauses()
801 Ptr, BS, Simdlen.get(), Uniforms, Aligneds, Alignments, Linears, in ParseOMPDeclareSimdClauses()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp247 SmallVector<Expr *, 4> Uniforms, Aligneds, Alignments, Linears, Steps; in instantiateOMPDeclareSimdDeclAttr() local
287 Alignments.push_back(Inst.get()); in instantiateOMPDeclareSimdDeclAttr()
306 Uniforms, Aligneds, Alignments, Linears, LinModifiers, Steps, in instantiateOMPDeclareSimdDeclAttr()
DSemaOpenMP.cpp3633 ArrayRef<Expr *> Alignments, ArrayRef<Expr *> Linears, in ActOnOpenMPDeclareSimdDirective() argument
3635 assert(Aligneds.size() == Alignments.size()); in ActOnOpenMPDeclareSimdDirective()
3746 for (auto *E : Alignments) { in ActOnOpenMPDeclareSimdDirective()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp296 SmallVector<Expr *, 4> Uniforms, Aligneds, Alignments, Linears, Steps; in instantiateOMPDeclareSimdDeclAttr() local
347 Alignments.push_back(Inst.get()); in instantiateOMPDeclareSimdDeclAttr()
366 Uniforms, Aligneds, Alignments, Linears, LinModifiers, Steps, in instantiateOMPDeclareSimdDeclAttr()
DSemaOpenMP.cpp5613 ArrayRef<Expr *> Alignments, ArrayRef<Expr *> Linears, in ActOnOpenMPDeclareSimdDirective() argument
5615 assert(Aligneds.size() == Alignments.size()); in ActOnOpenMPDeclareSimdDirective()
5729 for (Expr *E : Alignments) { in ActOnOpenMPDeclareSimdDirective()
/external/clang/include/clang/Basic/
DAttr.td2326 VariadicExprArgument<"Aligneds">, VariadicExprArgument<"Alignments">,
/external/llvm-project/clang/include/clang/Basic/
DAttr.td3432 VariadicExprArgument<"Aligneds">, VariadicExprArgument<"Alignments">,
/external/clang/include/clang/Sema/
DSema.h8246 ArrayRef<Expr *> Alignments, ArrayRef<Expr *> Linears,
/external/llvm-project/clang/include/clang/Sema/
DSema.h10646 ArrayRef<Expr *> Alignments, ArrayRef<Expr *> Linears,