Home
last modified time | relevance | path

Searched refs:PtrSize (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/IR/
DMangler.cpp101 unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() local
102 ArgWords += RoundUpToAlignment(DL.getTypeAllocSize(Ty), PtrSize); in addByteCountSuffix()
DInstructions.cpp2471 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() local
2472 if (MidSize >= PtrSize) in isEliminableCastPair()
2501 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() local
2504 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp246 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerWidthAndAlign() local
251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerWidthAndAlign()
DASTContext.cpp5082 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock() local
5083 CharUnits ParmOffset = PtrSize; in getObjCEncodingForBlock()
5098 ParmOffset = PtrSize; in getObjCEncodingForBlock()
5189 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl() local
5192 CharUnits ParmOffset = 2 * PtrSize; in getObjCEncodingForMethodDecl()
5206 S += charUnitsToString(PtrSize); in getObjCEncodingForMethodDecl()
5209 ParmOffset = 2 * PtrSize; in getObjCEncodingForMethodDecl()
DExprConstant.cpp7473 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); in VisitBinaryOperator() local
7476 assert(PtrSize <= 64 && "Unexpected pointer width"); in VisitBinaryOperator()
7477 uint64_t Mask = ~0ULL >> (64 - PtrSize); in VisitBinaryOperator()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcTargetSupport.h54 const static unsigned PtrSize = 8; variable
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1719 unsigned PtrSize = Asm->getDataLayout().getPointerSize(); in emitDebugARanges() local
1748 unsigned TupleSize = PtrSize * 2; in emitDebugARanges()
1765 Asm->EmitInt8(PtrSize); in emitDebugARanges()
1772 Asm->EmitLabelReference(Span.Start, PtrSize); in emitDebugARanges()
1776 Asm->EmitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges()
1784 Asm->OutStreamer->EmitIntValue(Size, PtrSize); in emitDebugARanges()
1789 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges()
1790 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges()
DAsmPrinter.cpp514 unsigned PtrSize = DL.getPointerTypeSize(GV->getType()); in EmitGlobalVariable() local
516 PtrSize); in EmitGlobalVariable()
517 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable()
518 OutStreamer->EmitSymbolValue(MangSym, PtrSize); in EmitGlobalVariable()
1199 unsigned PtrSize = M.getDataLayout().getPointerSize(0); in doFinalization() local
1201 PtrSize); in doFinalization()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp344 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in reset() local
345 Array = make_unique<char[]>((InputArgv.size()+1)*PtrSize); in reset()
360 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset()
366 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset()
419 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in isTargetNullPtr() local
420 for (unsigned i = 0; i < PtrSize; ++i) in isTargetNullPtr()
/external/clang/lib/CodeGen/
DCGClass.cpp865 unsigned PtrSize = CGM.getDataLayout().getPointerSizeInBits(); in EmitAsanPrologueOrEpilogue() local
910 F, {Builder.CreateAdd(ThisPtr, Builder.getIntN(PtrSize, EndOffset)), in EmitAsanPrologueOrEpilogue()
911 Builder.getIntN(PtrSize, PoisonSize)}); in EmitAsanPrologueOrEpilogue()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1480 uint32_t PtrSize = getDataLayout().getPointerSizeInBits(); in executeIntToPtrInst() local
1481 if (PtrSize != Src.IntVal.getBitWidth()) in executeIntToPtrInst()
1482 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2403 unsigned PtrSize = DL.getPointerSizeInBits(PT->getAddressSpace()); in ParseConstraints() local
2404 OpInfo.ConstraintVT = MVT::getIntegerVT(PtrSize); in ParseConstraints()
DSelectionDAGBuilder.cpp3006 unsigned PtrSize = PtrTy.getSizeInBits(); in visitGetElementPtr() local
3007 APInt ElementSize(PtrSize, DL->getTypeAllocSize(Ty)); in visitGetElementPtr()
3019 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(PtrSize); in visitGetElementPtr()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1361 unsigned PtrSize = DL.getPointerTypeSizeInBits(BasePtr->getType()); in getNaturalGEPWithType() local
1373 Indices.push_back(IRB.getIntN(PtrSize, 0)); in getNaturalGEPWithType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp394 unsigned PtrSize = IntPtrTy->getIntegerBitWidth(); in FoldCmpLoadFromIndexedGlobal() local
395 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1748 unsigned PtrSize = PtrVT.getSizeInBits(); in lowerGlobalTLSAddress() local
1749 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize); in lowerGlobalTLSAddress()