/external/v8/src/ia32/ |
H A D | assembler-ia32.cc | 334 void Assembler::Align(int m) { function in class:v8::internal::Assembler 417 Align(16); // Preferred alignment of jump targets on ia32.
|
/external/v8/src/mips/ |
H A D | assembler-mips.cc | 329 void Assembler::Align(int m) { function in class:v8::internal::Assembler 341 Align(4);
|
/external/v8/src/ppc/ |
H A D | assembler-ppc.cc | 273 void Assembler::Align(int m) { function in class:v8::internal::Assembler 282 void Assembler::CodeTargetAlign() { Align(8); }
|
/external/v8/src/x64/ |
H A D | assembler-x64.cc | 326 void Assembler::Align(int m) { function in class:v8::internal::Assembler 334 Align(16); // Preferred alignment of jump targets on x64.
|
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 3517 Value *Align = getAlignmentValue32(PtrOp1); local 3518 Ops[1] = Builder.CreateCall(F, {Ops[1], Align}, NameHint); 4462 Value *Align = getAlignmentValue32(PtrOp0); local 4463 Value *Ld = Builder.CreateCall(F, {Ops[0], Align}); 4495 llvm::Value *Align = getAlignmentValue32(PtrOp1); local 4496 Ops[1] = Builder.CreateCall(F, {Ops[1], Align}, "vld_dup"); 6184 // of an Align parameter here. 6589 unsigned Align) { 6597 return CGF.Builder.CreateAlignedStore(Ops[1], Ops[0], Align); 6602 return CGF.Builder.CreateMaskedStore(Ops[1], Ops[0], Align, MaskVe 6587 EmitX86MaskedStore(CodeGenFunction &CGF, SmallVectorImpl<Value *> &Ops, unsigned Align) argument 6605 EmitX86MaskedLoad(CodeGenFunction &CGF, SmallVectorImpl<Value *> &Ops, unsigned Align) argument 6958 unsigned Align = local 6994 unsigned Align = local 7049 Value *Align = Builder.CreateShuffleVector(Ops[1], Ops[0], local [all...] |
H A D | CGExpr.cpp | 60 Address CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, CharUnits Align, argument 63 Alloca->setAlignment(Align.getQuantity()); 64 return Address(Alloca, Align); 80 CharUnits Align = local 82 return CreateTempAlloca(Ty, Align, Name); 94 CharUnits Align = getContext().getTypeAlignInChars(Ty); local 95 return CreateTempAlloca(ConvertType(Ty), Align, Name); 103 Address CodeGenFunction::CreateMemTemp(QualType Ty, CharUnits Align, argument 105 return CreateTempAlloca(ConvertTypeForMem(Ty), Align, Name); 594 llvm::Value *Align local 899 CharUnits Align = getNaturalPointeeTypeAlignment(E->getType(), Source); local 3027 CharUnits Align = CGF.getNaturalTypeAlignment(ElTy, &AlignSource); local [all...] |
H A D | ItaniumCXXABI.cpp | 158 unsigned Align = CGM.getContext().getTargetInfo().getExnObjectAlignment(); local 159 return CGM.getContext().toCharUnitsFromBits(Align); 981 auto Align = CGM.getContext().getTypeAlignInChars(FI.getReturnType()); local 982 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); 2328 CharUnits Align = CGM.getContext().getDeclAlign(VD); local 2329 Val = Builder.CreateAlignedLoad(Val, Align);
|
H A D | MicrosoftCXXABI.cpp | 1083 CharUnits Align = CGM.getContext().getTypeAlignInChars(FI.getReturnType()); 1087 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); 1092 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); 2255 CharUnits Align = CGM.getIntAlign(); local 2257 return ConstantAddress(GV, Align); 2263 GV->setAlignment(Align.getQuantity()); 2264 return ConstantAddress(GV, Align);
|
H A D | CGObjCMac.cpp | 1014 /// \param Align - The alignment for the variable, or 0. 1018 StringRef Section, CharUnits Align, 3639 CharUnits Align, 3647 GV->setAlignment(Align.getQuantity()); 4691 CharUnits Align = CGF.getPointerAlign(); local 4700 "__OBJC,__message_refs,literal_pointers,no_dead_strip", Align, true); 4704 return Address(Entry, Align); 6138 CharUnits Align = CGF.getPointerAlign(); local 6142 return CGF.Builder.CreateAlignedLoad(PTGV, Align); 6151 PTGV->setAlignment(Align 3636 CreateMetadataVar(Twine Name, llvm::Constant *Init, StringRef Section, CharUnits Align, bool AddToUsed) argument 6397 unsigned Align = CGM.getContext().getPreferredTypeAlign( local 6883 CharUnits Align = CGF.getPointerAlign(); local 6919 CharUnits Align = CGF.getPointerAlign(); local 6943 CharUnits Align = CGF.getPointerAlign(); local 7044 CharUnits Align = CGF.getPointerAlign(); local [all...] |
H A D | CGOpenMPRuntime.cpp | 896 CharUnits Align = getIdentAlign(CGM); local 913 DefaultOpenMPLocation->setAlignment(Align.getQuantity()); 923 return Address(Entry, Align); 3160 typedef std::pair<CharUnits /*Align*/, PrivateHelpersTy> PrivateDataTy;
|
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 3316 unsigned Align = 0; local 3322 Align = std::max(Align, I->getAlignment(Context)); 3325 if (AlignasAttr && Align) { 3326 CharUnits RequestedAlign = Context.toCharUnitsFromBits(Align);
|
H A D | SemaDecl.cpp | 2158 unsigned Align = I->getAlignment(S.Context); local 2159 if (Align > OldAlign) { 2160 OldAlign = Align; 2175 unsigned Align = I->getAlignment(S.Context); local 2176 if (Align > NewAlign) 2177 NewAlign = Align;
|
/external/clang/tools/c-index-test/ |
H A D | c-index-test.c | 1426 long long Align = clang_Type_getAlignOf(T); local 1427 if (Align >= 0 || Align < -1) { 1428 printf(" [alignof=%lld]", Align);
|
/external/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 1755 // Align the pointer arguments to this call if the target thinks it's a good 1791 unsigned Align = getKnownAlignment(MI->getDest(), *DL); local 1793 Align = std::min(Align, getKnownAlignment(MTI->getSource(), *DL)); 1794 if (Align > MI->getAlignment()) 1795 MI->setAlignment(ConstantInt::get(MI->getAlignmentType(), Align)); 4905 unsigned Align = ST->getAlignment(); local 4909 Align)) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 1823 unsigned Align = Node->getConstantOperandVal(3); local 1830 if (Align > TLI.getMinStackArgumentAlignment()) { 1831 assert(((Align & (Align-1)) == 0) && "Expected Align to be a power of 2"); 1834 getConstant(Align - 1, dl, VAList.getValueType())); 1837 getConstant(-(int64_t)Align, dl, VAList.getValueType())); 1883 unsigned Align = local 1887 int FrameIdx = FrameInfo->CreateStackObject(Bytes, Align, false); 2476 if (unsigned Align 4293 getMemcpyLoadsAndStores(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 4411 getMemmoveLoadsAndStores(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 4509 getMemsetStores(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, MachinePointerInfo DstPtrInfo) argument 4602 getMemcpy(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool AlwaysInline, bool isTailCall, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 4675 getMemmove(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool isTailCall, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 4736 getMemset(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool isTailCall, MachinePointerInfo DstPtrInfo) argument 4953 getMemIntrinsicNode( unsigned Opcode, const SDLoc &dl, SDVTList VTList, ArrayRef<SDValue> Ops, EVT MemVT, MachinePointerInfo PtrInfo, unsigned Align, bool Vol, bool ReadMem, bool WriteMem, unsigned Size) argument 5459 getVAArg(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr, SDValue SV, unsigned Align) argument 7030 unsigned Align = AlignBits ? 1 << std::min(31U, AlignBits) : 0; local [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 4929 unsigned Align = LD1->getAlignment(); local 4933 if (NewAlign <= Align && 4937 false, false, Align); 4999 unsigned Align = TLI.getTargetData()-> local 5003 if (Align <= OrigAlign) { 6202 if (unsigned Align = DAG.InferPtrAlignment(Ptr)) { 6203 if (Align > LD->getAlignment()) 6208 LD->isVolatile(), LD->isNonTemporal(), Align); 6580 unsigned Align = TLI.getTargetData()-> local 6582 if (Align < 6906 unsigned Align = LN0->getAlignment(); local [all...] |
H A D | SelectionDAG.cpp | 1474 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), local 1478 int FrameIdx = FrameInfo->CreateStackObject(Bytes, Align, false); 2068 if (unsigned Align = InferPtrAlignment(Op)) { 2070 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); 3417 unsigned Align, bool isVol, 3439 if (Align > SrcAlign) 3440 SrcAlign = Align; 3447 (DstAlignCanChange ? 0 : Align), 3455 if (NewAlign > Align) { 3459 Align 3414 getMemcpyLoadsAndStores(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 3509 getMemmoveLoadsAndStores(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 3589 getMemsetStores(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, unsigned Align, bool isVol, MachinePointerInfo DstPtrInfo) argument 3664 getMemcpy(SDValue Chain, DebugLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 3728 getMemmove(SDValue Chain, DebugLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) argument 3780 getMemset(SDValue Chain, DebugLoc dl, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVol, MachinePointerInfo DstPtrInfo) argument 4035 getMemIntrinsicNode(unsigned Opcode, DebugLoc dl, const EVT *VTs, unsigned NumVTs, const SDValue *Ops, unsigned NumOps, EVT MemVT, MachinePointerInfo PtrInfo, unsigned Align, bool Vol, bool ReadMem, bool WriteMem) argument 4047 getMemIntrinsicNode(unsigned Opcode, DebugLoc dl, SDVTList VTList, const SDValue *Ops, unsigned NumOps, EVT MemVT, MachinePointerInfo PtrInfo, unsigned Align, bool Vol, bool ReadMem, bool WriteMem) argument 4390 getVAArg(EVT VT, DebugLoc dl, SDValue Chain, SDValue Ptr, SDValue SV, unsigned Align) argument 6532 unsigned Align = GV->getAlignment(); local [all...] |
H A D | SelectionDAGBuilder.cpp | 3123 unsigned Align = local 3141 if (Align <= StackAlign) 3142 Align = 0; 3155 SDValue Ops[] = { getRoot(), AllocSize, DAG.getIntPtrConstant(Align) }; 3164 FuncInfo.MF->getFrameInfo()->CreateVariableSizedObject(Align ? Align : 1); 4490 unsigned Align = cast<ConstantInt>(I.getArgOperand(3))->getZExtValue(); local 4492 DAG.setRoot(DAG.getMemcpy(getRoot(), dl, Op1, Op2, Op3, Align, isVol, false, 4506 unsigned Align = cast<ConstantInt>(I.getArgOperand(3))->getZExtValue(); local 4508 DAG.setRoot(DAG.getMemset(getRoot(), dl, Op1, Op2, Op3, Align, isVo 4523 unsigned Align = cast<ConstantInt>(I.getArgOperand(3))->getZExtValue(); local 5157 unsigned Align = TLI.getTargetData()->getPrefTypeAlignment( local 5967 unsigned Align = TLI.getTargetData()->getPrefTypeAlignment(Ty); local [all...] |
/external/swiftshader/third_party/subzero/src/ |
H A D | IceTargetLoweringMIPS32.cpp | 1616 // Align the variables area. SpillAreaPaddingBytes is the size of the region 4619 _and(T3, Base, T1); // Align the address 5826 SizeT Align = std::max(MinimumAlignment, typeAlignInBytes(Traits::IceType)); local 5827 assert((Align % 4) == 0 && "Constants should be aligned"); 5830 Str << "\t.section\t.rodata.cst" << Align << ",\"aM\",%progbits," << Align 5832 << "\t.align\t" << (Align == 4 ? 2 : 3) << "\n";
|
/external/v8/src/arm/ |
H A D | assembler-arm.cc | 605 void Assembler::Align(int m) { function in class:v8::internal::Assembler 616 Align(8);
|
/external/v8/src/ |
H A D | gdb-jit.cc | 117 void Align(uintptr_t align) { function in class:v8::internal::GDBJITInterface::BASE_EMBEDDED 866 w->Align(header->alignment);
|
/external/v8/src/mips64/ |
H A D | assembler-mips64.cc | 311 void Assembler::Align(int m) { function in class:v8::internal::Assembler 323 Align(4);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 1354 unsigned Align = Target->getCharWidth(); local 1358 Align = AlignFromAttr; 1399 Align = std::max(Align, Target->getLargeArrayAlign()); 1402 Align = std::max(Align, Target->getLargeArrayAlign()); 1405 Align = std::max(Align, getPreferredTypeAlign(T.getTypePtr())); 1408 Align = std::max(Align, getTargetInf 1477 unsigned Align = EltInfo.second.getQuantity(); local 1526 unsigned Align = 8; local 8881 unsigned Align = alignChars.getQuantity(); local [all...] |
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 6835 unsigned Align = Context->getTypeAlign(IVQT)/8; local 6836 Align = llvm::Log2_32(Align); 6837 Result += llvm::utostr(Align); Result += ", ";
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 804 unsigned Align, 818 Align <= 2 || 4322 unsigned Align = Op.getConstantOperandVal(3); local 4329 if (Align > 8) { 4330 assert(((Align & (Align - 1)) == 0) && "Expected Align to be a power of 2"); 4332 DAG.getConstant(Align - 1, DL, PtrVT)); 4334 DAG.getConstant(-(int64_t)Align, DL, PtrVT)); 802 allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace, unsigned Align, bool *Fast) const argument
|