Searched refs:PtrWidth (Results 1 – 8 of 8) sorted by relevance
33 uint64_t PtrWidth; member in __anon02ddca6e0111::WalkAST41 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()76 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
101 unsigned PtrWidth = 2 + 2 * sizeof(void *); in format_ptr() local102 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
738 uint32_t PtrWidth = DL.getTypeSizeInBits(Op0->getType()); in getConstantValue() local739 assert(PtrWidth <= 64 && "Bad pointer width"); in getConstantValue()740 GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal)); in getConstantValue()747 uint32_t PtrWidth = DL.getTypeSizeInBits(CE->getType()); in getConstantValue() local748 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
1003 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in patternFor() local1005 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth); in patternFor()1007 switch (PtrWidth) { in patternFor()
1892 uint64_t PtrWidth = in CollectVTableInfo() local1898 unsigned VTableWidth = PtrWidth * VSlotCount; in CollectVTableInfo()1909 VPtrTy = DBuilder.createPointerType(VTableType, PtrWidth); in CollectVTableInfo()
7136 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg() local7140 (Ty->isPointerType() && PtrWidth < SlotSizeInBits)) { in EmitVAArg()
1290 unsigned PtrWidth = DL.getPointerTypeSizeInBits(CE->getType()); in ConstantFoldCastOperand() local1291 if (PtrWidth < InWidth) { in ConstantFoldCastOperand()1294 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
1027 CharUnits PtrWidth = in LayoutNonVirtualBases() local1033 setSize(getSize() + PtrWidth); in LayoutNonVirtualBases()