Searched refs:TySize (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp83 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty); local
88 TySize *= CUI->getZExtValue(); // Get total allocated size.
89 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects.
96 (TySize >= 8 && isa<ArrayType>(Ty) &&
99 MF->getFrameInfo()->CreateStackObject(TySize, Align, false,
H A DSelectionDAGBuilder.cpp3188 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty); local
3201 DAG.getConstant(TySize, IntPtr));
5288 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize( local
5293 DemoteStackIdx = MF.getFrameInfo()->CreateStackObject(TySize, Align, false);
6059 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty); local
6062 int SSFI = MF.getFrameInfo()->CreateStackObject(TySize, Align, false);
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp1717 unsigned TySize = (unsigned)Context.getTypeSize(Ty);
1718 if (TySize <= StartBit)
3334 void CoerceToIntArgs(uint64_t TySize,
3336 llvm::Type* HandleAggregates(QualType Ty, uint64_t TySize) const;
3371 void MipsABIInfo::CoerceToIntArgs(uint64_t TySize,
3376 // Add (TySize / MinABIStackAlignInBytes) args of IntTy.
3377 for (unsigned N = TySize / (MinABIStackAlignInBytes * 8); N; --N)
3381 unsigned R = TySize % (MinABIStackAlignInBytes * 8);
3389 llvm::Type* MipsABIInfo::HandleAggregates(QualType Ty, uint64_t TySize) const {
3393 CoerceToIntArgs(TySize, ArgLis
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp751 if (int64_t TySize = TD->getTypeAllocSize(Ty)) {
752 FirstIdx = Offset/TySize;
753 Offset -= FirstIdx*TySize;
755 // Handle hosts where % returns negative instead of values [0..TySize).
758 Offset += TySize;
761 assert((uint64_t)Offset < (uint64_t)TySize && "Out of range offset");

Completed in 278 milliseconds