Home
last modified time | relevance | path

Searched refs:PtrWidth (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DPatternInit.cpp46 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in initializationPatternFor() local
48 if (PtrWidth > 64) in initializationPatternFor()
50 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth); in initializationPatternFor()
DCGDebugInfo.cpp2127 uint64_t PtrWidth = in CollectVTableInfo() local
2133 unsigned VTableWidth = PtrWidth * VSlotCount; in CollectVTableInfo()
2144 VPtrTy = DBuilder.createPointerType(VTableType, PtrWidth); in CollectVTableInfo()
DTargetInfo.cpp7951 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg() local
7955 (Ty->isPointerType() && PtrWidth < SlotSizeInBits)) { in EmitVAArg()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp33 uint64_t PtrWidth; member in __anon0d6264680111::WalkAST
41 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
76 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp32 uint64_t PtrWidth; member in __anonec024d960111::WalkAST
40 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp61 unsigned PtrWidth = 2 + 2 * sizeof(void *); in format_ptr() local
62 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
/external/llvm/lib/Support/
DSignals.cpp61 unsigned PtrWidth = 2 + 2 * sizeof(void *); in format_ptr() local
62 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSignals.cpp100 unsigned PtrWidth = 2 + 2 * sizeof(void *); in format_ptr() local
101 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
/external/llvm-project/llvm/lib/Support/
DSignals.cpp103 unsigned PtrWidth = 2 + 2 * sizeof(void *); in format_ptr() local
104 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
/external/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp731 uint32_t PtrWidth = DL.getTypeSizeInBits(Op0->getType()); in getConstantValue() local
732 assert(PtrWidth <= 64 && "Bad pointer width"); in getConstantValue()
733 GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal)); in getConstantValue()
740 uint32_t PtrWidth = DL.getTypeSizeInBits(CE->getType()); in getConstantValue() local
741 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp735 uint32_t PtrWidth = DL.getTypeSizeInBits(Op0->getType()); in getConstantValue() local
736 assert(PtrWidth <= 64 && "Bad pointer width"); in getConstantValue()
737 GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal)); in getConstantValue()
744 uint32_t PtrWidth = DL.getTypeSizeInBits(CE->getType()); in getConstantValue() local
745 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp737 uint32_t PtrWidth = DL.getTypeSizeInBits(Op0->getType()); in getConstantValue() local
738 assert(PtrWidth <= 64 && "Bad pointer width"); in getConstantValue()
739 GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal)); in getConstantValue()
746 uint32_t PtrWidth = DL.getTypeSizeInBits(CE->getType()); in getConstantValue() local
747 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1194 unsigned PtrWidth = DL.getPointerTypeSizeInBits(CE->getType()); in ConstantFoldCastOperand() local
1195 if (PtrWidth < InWidth) { in ConstantFoldCastOperand()
1198 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1322 unsigned PtrWidth = DL.getPointerTypeSizeInBits(CE->getType()); in ConstantFoldCastOperand() local
1323 if (PtrWidth < InWidth) { in ConstantFoldCastOperand()
1326 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp1361 unsigned PtrWidth = DL.getPointerTypeSizeInBits(CE->getType()); in ConstantFoldCastOperand() local
1362 if (PtrWidth < InWidth) { in ConstantFoldCastOperand()
1365 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1020 CharUnits PtrWidth = in LayoutNonVirtualBases() local
1026 setSize(getSize() + PtrWidth); in LayoutNonVirtualBases()
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp1058 CharUnits PtrWidth = in LayoutNonVirtualBases() local
1068 setSize(getSize() + PtrWidth); in LayoutNonVirtualBases()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp6991 uint64_t PtrWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleMSPointerTypeQualifierAttr() local
6992 if (PtrWidth == 32) { in handleMSPointerTypeQualifierAttr()
6997 } else if (PtrWidth == 64 && Attrs[attr::Ptr32]) { in handleMSPointerTypeQualifierAttr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7025 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlignment() local
7026 APInt KnownZero(PtrWidth, 0), KnownOne(PtrWidth, 0); in InferPtrAlignment()
/external/clang/lib/CodeGen/
DTargetInfo.cpp6482 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg() local
6486 (Ty->isPointerType() && PtrWidth < SlotSizeInBits)) { in EmitVAArg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp9408 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlignment() local
9409 KnownBits Known(PtrWidth); in InferPtrAlignment()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp9632 unsigned PtrWidth = getDataLayout().getPointerTypeSizeInBits(GV->getType()); in InferPtrAlign() local
9633 KnownBits Known(PtrWidth); in InferPtrAlign()