/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 836 CharUnits alignment = getContext().getDeclAlign(&D); local 837 emission.Alignment = alignment; 910 CharUnits allocaAlignment = alignment; 958 vla->setAlignment(alignment.getQuantity()); 1077 CharUnits alignment = emission.Alignment; 1094 LValue lv = MakeAddrLValue(Loc, type, alignment); 1101 LValue lv = MakeAddrLValue(Loc, type, alignment); 1123 alignment.getQuantity(), isVolatile); 1137 GV->setAlignment(alignment.getQuantity()); 1144 Builder.CreateMemCpy(Loc, SrcPtr, SizeVal, alignment [all...] |
H A D | CGValue.h | 134 // The alignment to use when accessing this lvalue. (For vector elements, 135 // this is the alignment of the whole vector.) 290 CharUnits alignment, ASTContext &Context, 298 R.Initialize(type, qs, alignment, TBAAInfo); 289 MakeAddr(llvm::Value *address, QualType type, CharUnits alignment, ASTContext &Context, llvm::MDNode *TBAAInfo = 0) argument
|
H A D | CGBlocks.cpp | 210 /// all __weak together. Preserve descending alignment in all situations. 292 /// alignment of the nth byte if the 0th byte is universally aligned. 395 // Otherwise, build a layout chunk with the size and alignment of 460 // Sort the layout by alignment. We have to use a stable sort here 473 // get the alignment of the first byte following the header. 478 // alignment, and keep appending them until we get something that's 482 // header // next byte has alignment 4 483 // something_with_size_5; // next byte has alignment 1 508 // ...until we get to the alignment of the maximum field. 540 // strictly decreasing alignment an 1586 ObjectByrefHelpers(CharUnits alignment, BlockFieldFlags flags) argument 1620 ARCWeakByrefHelpers(CharUnits alignment) argument 1641 ARCStrongByrefHelpers(CharUnits alignment) argument 1682 ARCStrongBlockByrefHelpers(CharUnits alignment) argument 1715 CXXByrefHelpers(CharUnits alignment, QualType type, const Expr *copyExpr) argument [all...] |
H A D | CGDeclCXX.cpp | 32 CharUnits alignment = Context.getDeclAlign(&D); local 34 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment);
|
/freebsd-9.3-release/contrib/binutils/gas/ |
H A D | write.c | 332 /* This routine records the largest alignment seen for each segment. 338 record_alignment (/* Segment to which alignment pertains. */ 581 providing sufficient alignment on the last frag, and the 582 machine dependent code using alignment frags with fr_var 1398 /* The last subsegment gets an alignment corresponding to the alignment 1424 int alignment = 0; local 1429 any alignment is meaningless, and, moreover, will look weird 1433 alignment = SUB_SEGMENT_ALIGN (now_seg, frchainP); 1445 if (entalign > alignment) [all...] |
/freebsd-9.3-release/contrib/gcc/ |
H A D | function.c | 89 the required alignment. Avoid using division in case the value is 90 negative. Assume the alignment is a power of two. */ 94 alignment. */ 168 /* The alignment (in bits) of the slot. */ 186 for alignment. This info is for combine_temp_slots. */ 188 /* The size of the slot, including extra space for alignment. This 392 ALIGN controls the amount of alignment for the address of the slot: 396 positive specifies alignment boundary in bits. 408 unsigned int alignment; 416 alignment 404 unsigned int alignment; local 676 int alignment = best_p->align / BITS_PER_UNIT; local [all...] |
H A D | tree-vect-analyze.c | 634 /* Two references with distance zero have the same alignment. */ 638 fprintf (vect_dump, "accesses have the same alignment."); 719 tree aligned_to, alignment; local 732 alignment = ssize_int (TYPE_ALIGN (vectype)/BITS_PER_UNIT); 734 if ((aligned_to && tree_int_cst_compare (aligned_to, alignment) < 0) 739 fprintf (vect_dump, "Unknown alignment for access: "); 747 alignment) >= 0) 751 alignment) >= 0)) 758 /* Do not change the alignment of global variables if 765 fprintf (vect_dump, "can't force alignment o [all...] |
/freebsd-9.3-release/sys/dev/drm2/i915/ |
H A D | i915_gem.c | 74 unsigned alignment, bool map_and_fenceable); 515 i915_gem_object_pin(struct drm_i915_gem_object *obj, uint32_t alignment, argument 529 if ((alignment && obj->gtt_offset & (alignment - 1)) || 531 DRM_DEBUG("bo is already pinned with incorrect alignment:" 532 " offset=%x, req.alignment=%x, req.map_and_fenceable=%d," 534 obj->gtt_offset, alignment, 544 ret = i915_gem_object_bind_to_gtt(obj, alignment, 631 ret = i915_gem_object_pin(obj, args->alignment, true); 1777 u32 alignment, struc 1776 i915_gem_object_pin_to_display_plane(struct drm_i915_gem_object *obj, u32 alignment, struct intel_ring_buffer *pipelined) argument 2017 i915_gem_object_bind_to_gtt(struct drm_i915_gem_object *obj, unsigned alignment, bool map_and_fenceable) argument [all...] |
H A D | i915_gem_execbuffer.c | 505 ret = i915_gem_object_pin(obj, entry->alignment, need_mappable); 578 * the execbuffer (fenceable, mappable, alignment etc). 606 if ((entry->alignment && obj->gtt_offset & (entry->alignment - 1)) || 1447 exec2_list[i].alignment = exec_list[i].alignment;
|
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_ialloc.c | 171 args.alignment = 1; 183 * Set the alignment for the allocation. 184 * If stripe alignment is turned on then align at stripe unit 188 * pieces, so don't need alignment anyway. 193 args.alignment = args.mp->m_dalign; 199 args.alignment = args.mp->m_sb.sb_inoalignmt; 201 args.alignment = 1; 226 * If stripe alignment is turned on, then try again with cluster 227 * alignment. 237 args.alignment [all...] |
H A D | xfs_dir2.c | 345 int alignment; /* alignment required for ABI */ local 358 alignment = sizeof(xfs_off_t) - 1; 360 (((__psint_t)uio->uio_iov[0].iov_base & alignment) == 0) && 361 ((uio->uio_iov[0].iov_len & alignment) == 0)) {
|
/freebsd-9.3-release/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci_space.c | 241 bus_size_t size, bus_size_t alignment, bus_size_t boundary, int cacheable, 440 bus_size_t size, bus_size_t alignment, bus_size_t boundary, int cacheable, 240 ixp425_pci_io_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, bus_size_t alignment, bus_size_t boundary, int cacheable, bus_addr_t *bpap, bus_space_handle_t *bshp) argument 439 ixp425_pci_mem_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, bus_size_t alignment, bus_size_t boundary, int cacheable, bus_addr_t *bpap, bus_space_handle_t *bshp) argument
|
/freebsd-9.3-release/sys/dev/twa/ |
H A D | tw_cl_init.c | 164 * Output: alignment -- alignment needed for all DMA'able 183 TW_INT32 max_aens, TW_UINT32 *alignment, TW_UINT32 *sg_size_factor, 201 *alignment = TWA_ALIGNMENT(device_id); 181 tw_cl_get_mem_requirements(struct tw_cl_ctlr_handle *ctlr_handle, TW_UINT32 flags, TW_INT32 device_id, TW_INT32 max_simult_reqs, TW_INT32 max_aens, TW_UINT32 *alignment, TW_UINT32 *sg_size_factor, TW_UINT32 *non_dma_mem_size, TW_UINT32 *dma_mem_size ) argument
|
H A D | tw_osl.h | 103 * copy was done due to non-compliance to alignment requirements 133 TW_UINT32 alignment; member in struct:twa_softc
|
H A D | tw_osl_freebsd.c | 526 &(sc->alignment), &(sc->sg_size_factor), 551 sc->alignment, /* alignment */ 574 sc->alignment, /* alignment */ 621 sc->alignment, /* alignment */ 647 sc->alignment, /* alignment */ 1316 * If we're using an alignment buffe [all...] |
/freebsd-9.3-release/sys/dev/vxge/vxgehal/ |
H A D | vxgehal-mm.c | 504 * vxge_hal_check_alignment - Check buffer alignment and calculate the 508 * @alignment: Alignment "granularity" (see below), in bytes. 512 * Check buffer alignment and calculate "misaligned" portion, if exists. 514 * the specified @alignment. If this is the case, 519 * may or may not be equal @alignment. The difference between these two 520 * arguments is that the @alignment is used to make the decision: aligned 524 * @alignment = 8 and @copy_size = 64 will work okay on AMD Opteron boxes. 526 * Note: @copy_size should be a multiple of @alignment. In many practical 527 * cases @copy_size and @alignment will probably be equal. 535 u32 alignment, 532 vxge_hal_check_alignment( dma_addr_t dma_pointer, u32 size, u32 alignment, u32 copy_size) argument [all...] |
/freebsd-9.3-release/contrib/gcc/config/rs6000/ |
H A D | linux64.h | 81 if (!rs6000_explicit_options.alignment) \ 227 /* PowerPC64 Linux increases natural record alignment to doubleword if 228 the first field is an FP double, only if in power alignment mode. */
|
/freebsd-9.3-release/sys/dev/qlxge/ |
H A D | qls_def.h | 42 bus_size_t alignment; member in struct:qla_dma
|
H A D | qls_hw.c | 1402 ha->tx_ring[ridx].wq_dma.alignment = 8; 1414 ha->tx_ring[ridx].privb_dma.alignment = 8; 1465 1, 0, /* alignment, bounds */ 1524 ha->rss_dma.alignment = 4; 1549 ha->mpi_dma.alignment = 4; 1612 ha->rx_ring[ridx].cq_dma.alignment = 128; 1624 ha->rx_ring[ridx].lbq_dma.alignment = 8; 1635 ha->rx_ring[ridx].sbq_dma.alignment = 8; 1646 ha->rx_ring[ridx].lb_dma.alignment = 8; 1750 1, 0, /* alignment, bound [all...] |
/freebsd-9.3-release/sys/vm/ |
H A D | vm_phys.c | 911 * physical address "high". The given value "alignment" determines the 912 * alignment of the first physical page in the set. If the given value 915 * "alignment" and "boundary" must be a power of two. 919 u_long alignment, u_long boundary) 937 KASSERT((alignment & (alignment - 1)) == 0, 938 ("vm_phys_alloc_contig: alignment must be a power of 2")); 988 * satisfy the given alignment, and do not cross the 994 (pa & (alignment - 1)) == 0 && 918 vm_phys_alloc_contig(u_long npages, vm_paddr_t low, vm_paddr_t high, u_long alignment, u_long boundary) argument
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | s390-tdep.c | 2151 retcode + alignment (8 bytes) 2517 /* Return the alignment required by TYPE. */ 2521 int alignment; local 2526 alignment = TYPE_LENGTH (type); 2532 alignment = 1; 2537 if (field_alignment > alignment) 2538 alignment = field_alignment; 2542 alignment = 1; 2547 gdb_assert ((alignment & (alignment [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 675 AliasSetTracker &ast, DebugLoc dl, int alignment, 679 AST(ast), DL(dl), Alignment(alignment), TBAATag(TBAATag) {} 754 // We start with an alignment of one and try to find instructions that allow 755 // us to prove better alignment. 761 // different sizes. While we are at it, collect alignment and TBAA info. 798 // If the alignment of this instruction allows us to specify a more 799 // restrictive (and performant) alignment and if we are sure this 800 // instruction will be executed, update the alignment. 801 // Larger is better, with the exception of 0 being the best alignment. 670 LoopPromoter(Value *SP, const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, SmallPtrSet<Value*, 4> &PMA, SmallVectorImpl<BasicBlock*> &LEB, SmallVectorImpl<Instruction*> &LIP, AliasSetTracker &ast, DebugLoc dl, int alignment, MDNode *TBAATag) argument
|
/freebsd-9.3-release/share/mk/ |
H A D | bsd.sys.mk | 116 CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
|
/freebsd-9.3-release/sys/dev/drm2/radeon/ |
H A D | radeon_drm.h | 731 int alignment; member in struct:drm_radeon_mem_alloc 804 uint64_t alignment; member in struct:drm_radeon_gem_create
|
/freebsd-9.3-release/sys/dev/vxge/ |
H A D | vxge-osdep.h | 557 bus_size_t boundary, max_size, alignment = PAGE_SIZE; local 569 alignment, /* Alignment */
|