Searched refs:TypeAlign (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 192 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible() local 194 Align1 = Align1 ? Align1 : TypeAlign; in InlineCallIfPossible() 195 Align2 = Align2 ? Align2 : TypeAlign; in InlineCallIfPossible()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 235 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType()); in mergeInlinedArrayAllocas() local 237 Align1 = Align1 ? Align1 : TypeAlign; in mergeInlinedArrayAllocas() 238 Align2 = Align2 ? Align2 : TypeAlign; in mergeInlinedArrayAllocas()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 292 static const char *getLockFreeValue(unsigned TypeWidth, unsigned TypeAlign, in getLockFreeValue() argument 296 if (TypeWidth == TypeAlign && (TypeWidth & (TypeWidth - 1)) == 0 && in getLockFreeValue()
|
/external/llvm-project/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 274 static const char *getLockFreeValue(unsigned TypeWidth, unsigned TypeAlign, in getLockFreeValue() argument 278 if (TypeWidth == TypeAlign && (TypeWidth & (TypeWidth - 1)) == 0 && in getLockFreeValue()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1396 CharUnits TypeAlign = Context.getTypeAlignInChars(Type); in LayoutWideBitField() local 1413 FieldOffset = llvm::alignTo(getDataSizeInBits(), Context.toBits(TypeAlign)); in LayoutWideBitField() 1426 Context.toBits(TypeAlign), FieldPacked, D); in LayoutWideBitField() 1432 UpdateAlignment(TypeAlign); in LayoutWideBitField()
|
/external/llvm-project/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1481 CharUnits TypeAlign = Context.getTypeAlignInChars(Type); in LayoutWideBitField() local 1498 FieldOffset = llvm::alignTo(getDataSizeInBits(), Context.toBits(TypeAlign)); in LayoutWideBitField() 1511 Context.toBits(TypeAlign), FieldPacked, D); in LayoutWideBitField() 1517 UpdateAlignment(TypeAlign); in LayoutWideBitField()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 1373 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult() local 1374 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() 1380 bool Realign = TypeAlign > StackAlign; in getIndirectResult() 6806 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult() local 6808 /*Realign=*/TypeAlign > in getIndirectResult() 7392 CharUnits TypeAlign = getContext().getTypeAlignInChars(Ty); in EmitVAArg() local 7406 Val = Address(llvm::UndefValue::get(ArgPtrTy), TypeAlign); in EmitVAArg() 7418 Val = Address(Builder.CreateLoad(Val), TypeAlign); in EmitVAArg()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 1626 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult() local 1627 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() 1633 bool Realign = TypeAlign > StackAlign; in getIndirectResult() 8592 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult() local 8594 /*Realign=*/TypeAlign > in getIndirectResult() 9548 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectByValue() local 9550 TypeAlign > MinABIStackAlignInBytes); in getIndirectByValue() 9756 CharUnits TypeAlign = getContext().getTypeAlignInChars(Ty); in EmitVAArg() local 9770 Val = Address(llvm::UndefValue::get(ArgPtrTy), TypeAlign); in EmitVAArg() 9783 Val = Address(Builder.CreateLoad(Val), TypeAlign); in EmitVAArg()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1045 CharUnits TypeAlign = Context.getTypeAlignInChars(Ty); in CheckCXXThrowOperand() local 1047 if (ExnObjAlign < TypeAlign) { in CheckCXXThrowOperand() 1050 << Ty << (unsigned)TypeAlign.getQuantity() in CheckCXXThrowOperand()
|