Searched defs:Align (Results 26 - 50 of 266) sorted by relevance

1234567891011

/external/swiftshader/third_party/subzero/src/
H A DIceAssemblerMIPS32.h320 const SizeT Align = 1 << getBundleAlignLog2Bytes(); variable
321 SizeT BytesNeeded = Utils::OffsetToAlignment(Buffer.getPosition(), Align);
/external/vixl/src/
H A Dcode-buffer-vixl.cc138 void CodeBuffer::Align() { function in class:vixl::CodeBuffer
/external/clang/lib/AST/
H A DMicrosoftCXXABI.cpp252 unsigned Align; local
258 Align = 64;
260 Align = Target.getPointerAlign(0);
262 Align = Target.getIntAlign();
265 Width = llvm::alignTo(Width, Align);
266 return std::make_pair(Width, Align);
H A DTypeLoc.cpp81 unsigned Align = getLocalAlignmentForType(TyLoc.getType()); local
82 MaxAlign = std::max(Align, MaxAlign);
83 Total = llvm::alignTo(Total, Align);
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGTargetInfo.h52 unsigned Align, bool isVolatile,
67 SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile,
81 unsigned Align, bool isVolatile,
49 EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
65 EmitTargetCodeForMemmove( SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
78 EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument
/external/llvm/lib/Analysis/
H A DLoads.cpp28 static bool isAligned(const Value *Base, const APInt &Offset, unsigned Align, argument
39 APInt Alignment(Offset.getBitWidth(), Align);
45 static bool isAligned(const Value *Base, unsigned Align, const DataLayout &DL) { argument
49 return isAligned(Base, Offset, Align, DL);
55 const Value *V, unsigned Align, const APInt &Size, const DataLayout &DL,
63 return isDereferenceableAndAlignedPointer(BC->getOperand(0), Align, Size,
72 return isAligned(V, Align, DL);
81 !Offset.urem(APInt(Offset.getBitWidth(), Align)).isMinValue())
86 // pointer is aligned to Align bytes, and the Offset is divisible by Align
54 isDereferenceableAndAlignedPointer( const Value *V, unsigned Align, const APInt &Size, const DataLayout &DL, const Instruction *CtxI, const DominatorTree *DT, SmallPtrSetImpl<const Value *> &Visited) argument
113 isDereferenceableAndAlignedPointer(const Value *V, unsigned Align, const DataLayout &DL, const Instruction *CtxI, const DominatorTree *DT) argument
185 isSafeToLoadUnconditionally(Value *V, unsigned Align, const DataLayout &DL, Instruction *ScanFrom, const DominatorTree *DT) argument
[all...]
/external/llvm/lib/Target/ARM/
H A DARMCallingConv.h204 unsigned Align = std::min(PendingMembers[0].getExtraInfo(), StackAlign); local
214 unsigned RegAlign = alignTo(Align, 4) / 4;
270 It.convertToMem(State.AllocateStack(Size, Align));
274 // as possible. (E.g. an incoming i64 would have starting Align of 8, but
276 Align = Size;
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DCallingConvLower.cpp46 unsigned Align = ArgFlags.getByValAlign(); local
50 if (MinAlign > (int)Align)
51 Align = MinAlign;
52 if (MF.getFrameInfo()->getMaxAlignment() < Align)
53 MF.getFrameInfo()->setMaxAlignment(Align);
55 unsigned Offset = AllocateStack(Size, Align);
/external/swiftshader/third_party/LLVM/lib/Support/
H A DAllocator.cpp32 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should
181 size_t Align,
184 << "Recycler element alignment: " << Align << '\n'
180 PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize) argument
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp32 SDValue Size, unsigned Align,
38 if ((Align & 3) != 0)
145 unsigned Align, bool isVolatile,
29 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
142 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
H A DAlphaRegisterInfo.cpp99 unsigned Align = TFI->getStackAlignment(); local
100 Amount = (Amount+Align-1)/Align*Align;
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
H A DSPUFrameLowering.cpp65 unsigned Align = std::max(TargetAlign, MFI->getMaxAlignment()); local
66 assert(isPowerOf2_32(Align) && "Alignment is not power of 2");
67 unsigned AlignMask = Align - 1;
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
H A DPTXSelectionDAGInfo.cpp32 SDValue Size, unsigned Align,
38 if ((Align & 3) != 0)
145 unsigned Align, bool isVolatile,
29 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
142 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DIRBuilder.cpp64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, argument
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) };
82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align, argument
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
102 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align, argument
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DFormatVariadic.h51 ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where, argument
53 : Type(ReplacementType::Format), Spec(Spec), Index(Index), Align(Align),
59 size_t Align = 0; member in struct:llvm::ReplacementItem
86 size_t &Align, char &Pad);
112 FmtAlign Align(*W, R.Where, R.Align);
113 Align.format(S, R.Options);
/external/capstone/
H A DMathExtras.h381 /// \p Value and is a multiple of \p Align. \p Align must be non-zero.
389 static inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { argument
390 return ((Value + Align - 1) / Align) * Align;
394 /// or equal to \p Value and is a multiple of \p Align. \p Align must be
396 static inline uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align) { argument
397 return RoundUpToAlignment(Value, Align)
[all...]
/external/clang/include/clang/Sema/
H A DTemplateDeduction.h203 void *Align; member in union:clang::DeductionFailureInfo::__anon1337
/external/clang/lib/CodeGen/
H A DCGBuilder.h91 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align, argument
93 return CreateAlignedLoad(Addr, Align.getQuantity(), Name);
95 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align, argument
97 return CreateAlignedLoad(Addr, Align.getQuantity(), Name);
100 CharUnits Align,
103 return CreateAlignedLoad(Addr, Align.getQuantity(), Name);
105 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align, argument
108 return CreateAlignedLoad(Addr, Align.getQuantity(), IsVolatile, Name);
121 CharUnits Align, bool IsVolatile = false) {
122 return CreateAlignedStore(Val, Addr, Align
99 CreateAlignedLoad(llvm::Type *Ty, llvm::Value *Addr, CharUnits Align, const llvm::Twine &Name = �) argument
120 CreateAlignedStore(llvm::Value *Val, llvm::Value *Addr, CharUnits Align, bool IsVolatile = false) argument
272 auto Align = std::min(Dest.getAlignment(), Src.getAlignment()); local
278 auto Align = std::min(Dest.getAlignment(), Src.getAlignment()); local
286 auto Align = std::min(Dest.getAlignment(), Src.getAlignment()); local
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp206 CharUnits Align; member in struct:__anon2019::PaddingChecker::CharUnitPair
211 return std::make_pair(Align, -Size) <
212 std::make_pair(RHS.Align, -RHS.Size);
219 std::tie(RetVal.Size, RetVal.Align) =
221 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity()));
223 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align);
263 CharUnits NextOffset = NewOffset.alignTo(Fields[0].Align);
/external/google-breakpad/src/common/
H A Dtest_assembler.cc324 Section &Section::Align(size_t alignment, uint8_t pad_byte) { function in class:google_breakpad::test_assembler::Section
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dbindings_internal.h61 inline size_t Align(size_t size) { function in namespace:mojo::internal
/external/llvm/include/llvm/MC/
H A DMCSymbol.h337 /// \param Align - The alignment of the symbol.
338 void setCommon(uint64_t Size, unsigned Align) { argument
343 assert((!Align || isPowerOf2_32(Align)) &&
345 unsigned Log2Align = Log2_32(Align) + 1;
360 /// \param Align - The alignment of the symbol.
362 bool declareCommon(uint64_t Size, unsigned Align) {
365 if(CommonSize != Size || getCommonAlignment() != Align)
368 setCommon(Size, Align);
/external/llvm/lib/CodeGen/
H A DCallingConvLower.cpp48 unsigned Align = ArgFlags.getByValAlign(); local
52 if (MinAlign > (int)Align)
53 Align = MinAlign;
54 ensureMaxAlignment(Align);
55 MF.getSubtarget().getTargetLowering()->HandleByVal(this, Size, Align);
57 unsigned Offset = AllocateStack(Size, Align);
H A DLocalStackSlotAllocation.cpp142 unsigned Align = MFI->getObjectAlignment(FrameIdx); local
146 MaxAlign = std::max(MaxAlign, Align);
149 Offset = (Offset + Align - 1) / Align * Align;
H A DStackSlotColoring.cpp266 unsigned Align = OrigAlignments[FI]; local
267 if (!Share || Align > MFI->getObjectAlignment(Color))
268 MFI->setObjectAlignment(Color, Align);

Completed in 1016 milliseconds

1234567891011