/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64LegalizerInfo.cpp | 708 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() local 709 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize); in legalizeLoadStore() 735 const unsigned PtrSize = PtrTy.getSizeInBits() / 8; in legalizeVaArg() local 740 PtrSize, /* Align = */ PtrSize)); in legalizeVaArg() 743 if (Align > PtrSize) { in legalizeVaArg() 758 ValSize, std::max(Align, PtrSize))); in legalizeVaArg() 760 auto Size = MIRBuilder.buildConstant(IntPtrTy, alignTo(ValSize, PtrSize)); in legalizeVaArg() 767 PtrSize, /* Align = */ PtrSize)); in legalizeVaArg()
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 240 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerInfo() local 247 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo() 261 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
|
/external/llvm-project/clang/unittests/CodeGen/ |
D | TestCompiler.h | 32 unsigned PtrSize = 0; member 51 PtrSize = TInfo.getPointerWidth(0) / 8;
|
D | TBAAMetadataTest.cpp | 1048 MConstInt(Compiler.PtrSize)); in TEST() 1056 MConstInt(Compiler.PtrSize + 4)); in TEST() 1067 MConstInt(Compiler.PtrSize)))); in TEST() 1079 MConstInt(Compiler.PtrSize + 4)))); in TEST() 1091 MConstInt(Compiler.PtrSize)))); in TEST() 1133 MConstInt(Compiler.PtrSize)); in TEST() 1156 MConstInt(Compiler.PtrSize)))); in TEST()
|
/external/llvm/lib/IR/ |
D | Mangler.cpp | 101 unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() local 102 ArgWords += alignTo(DL.getTypeAllocSize(Ty), PtrSize); in addByteCountSuffix()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Mangler.cpp | 104 unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() local 105 ArgWords += alignTo(DL.getTypeAllocSize(Ty), PtrSize); in addByteCountSuffix()
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 246 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerWidthAndAlign() local 251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerWidthAndAlign()
|
/external/llvm-project/llvm/lib/IR/ |
D | Mangler.cpp | 98 const unsigned PtrSize = DL.getPointerSize(); in addByteCountSuffix() local 108 ArgWords += alignTo(AllocSize, PtrSize); in addByteCountSuffix()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64LegalizerInfo.cpp | 871 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() local 872 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize); in legalizeLoadStore() 896 const unsigned PtrSize = PtrTy.getSizeInBits() / 8; in legalizeVaArg() local 897 const Align PtrAlign = Align(PtrSize); in legalizeVaArg() 901 PtrSize, PtrAlign)); in legalizeVaArg() 926 PtrSize, PtrAlign)); in legalizeVaArg()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1614 unsigned PtrSize = Asm->getDataLayout().getPointerSize(); in emitDebugARanges() local 1644 unsigned TupleSize = PtrSize * 2; in emitDebugARanges() 1661 Asm->EmitInt8(PtrSize); in emitDebugARanges() 1668 Asm->EmitLabelReference(Span.Start, PtrSize); in emitDebugARanges() 1672 Asm->EmitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges() 1680 Asm->OutStreamer->EmitIntValue(Size, PtrSize); in emitDebugARanges() 1685 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges() 1686 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges()
|
D | AsmPrinter.cpp | 515 unsigned PtrSize = DL.getPointerTypeSize(GV->getType()); in EmitGlobalVariable() local 517 PtrSize); in EmitGlobalVariable() 518 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable() 519 OutStreamer->EmitSymbolValue(MangSym, PtrSize); in EmitGlobalVariable() 1233 unsigned PtrSize = M.getDataLayout().getPointerSize(0); in doFinalization() local 1235 PtrSize); in doFinalization()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 2188 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugLocEntry() local 2191 Asm->getDataLayout().isLittleEndian(), PtrSize); in emitDebugLocEntry() 2192 DWARFExpression Expr(Data, getDwarfVersion(), PtrSize); in emitDebugLocEntry() 2629 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugARanges() local 2658 unsigned TupleSize = PtrSize * 2; in emitDebugARanges() 2675 Asm->emitInt8(PtrSize); in emitDebugARanges() 2682 Asm->EmitLabelReference(Span.Start, PtrSize); in emitDebugARanges() 2686 Asm->EmitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges() 2694 Asm->OutStreamer->EmitIntValue(Size, PtrSize); in emitDebugARanges() 2699 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges() [all …]
|
D | AsmPrinter.cpp | 616 unsigned PtrSize = DL.getPointerTypeSize(GV->getType()); in EmitGlobalVariable() local 618 PtrSize); in EmitGlobalVariable() 619 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable() 620 OutStreamer->EmitSymbolValue(MangSym, PtrSize); in EmitGlobalVariable() 1569 unsigned PtrSize = MAI->getCodePointerSize(); in doFinalization() local 1571 PtrSize); in doFinalization()
|
/external/llvm-project/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 339 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in reset() local 340 Array = std::make_unique<char[]>((InputArgv.size()+1)*PtrSize); in reset() 356 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset() 362 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset() 415 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in isTargetNullPtr() local 416 for (unsigned i = 0; i < PtrSize; ++i) in isTargetNullPtr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 342 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in reset() local 343 Array = std::make_unique<char[]>((InputArgv.size()+1)*PtrSize); in reset() 359 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset() 365 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset() 418 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in isTargetNullPtr() local 419 for (unsigned i = 0; i < PtrSize; ++i) in isTargetNullPtr()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 340 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in reset() local 341 Array = make_unique<char[]>((InputArgv.size()+1)*PtrSize); in reset() 356 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset() 362 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset() 415 unsigned PtrSize = EE->getDataLayout().getPointerSize(); in isTargetNullPtr() local 416 for (unsigned i = 0; i < PtrSize; ++i) in isTargetNullPtr()
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 2414 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugLocEntry() local 2417 Asm->getDataLayout().isLittleEndian(), PtrSize); in emitDebugLocEntry() 2418 DWARFExpression Expr(Data, PtrSize, Asm->OutContext.getDwarfFormat()); in emitDebugLocEntry() 2841 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugARanges() local 2871 unsigned TupleSize = PtrSize * 2; in emitDebugARanges() 2887 Asm->emitInt8(PtrSize); in emitDebugARanges() 2894 Asm->emitLabelReference(Span.Start, PtrSize); in emitDebugARanges() 2898 Asm->emitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges() 2906 Asm->OutStreamer->emitIntValue(Size, PtrSize); in emitDebugARanges() 2911 Asm->OutStreamer->emitIntValue(0, PtrSize); in emitDebugARanges() [all …]
|
D | AsmPrinter.cpp | 645 unsigned PtrSize = DL.getPointerTypeSize(GV->getType()); in emitGlobalVariable() local 647 PtrSize); in emitGlobalVariable() 648 OutStreamer->emitIntValue(0, PtrSize); in emitGlobalVariable() 649 OutStreamer->emitSymbolValue(MangSym, PtrSize); in emitGlobalVariable() 1759 unsigned PtrSize = MAI->getCodePointerSize(); in doFinalization() local 1761 PtrSize); in doFinalization()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 518 unsigned PtrSize = PtrTy.getSizeInBits(); in getInstrAlternativeMappings() local 528 AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize)}), in getInstrAlternativeMappings() 536 AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize)}), in getInstrAlternativeMappings() 2359 unsigned PtrSize = PtrTy.getSizeInBits(); in getInstrMappingForLoad() local 2372 PtrMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize); in getInstrMappingForLoad() 2375 PtrMapping = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize); in getInstrMappingForLoad()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 542 unsigned PtrSize = PtrTy.getSizeInBits(); in getInstrAlternativeMappings() local 551 AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize)}), in getInstrAlternativeMappings() 560 AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize)}), in getInstrAlternativeMappings() 3331 unsigned PtrSize = PtrTy.getSizeInBits(); in getInstrMappingForLoad() local 3342 PtrMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize); in getInstrMappingForLoad() 3351 PtrMapping = AMDGPU::getValueMapping(PtrBankID, PtrSize); in getInstrMappingForLoad() 3355 PtrMapping = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize); in getInstrMappingForLoad()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1529 uint32_t PtrSize = getDataLayout().getPointerSizeInBits(); in executeIntToPtrInst() local 1530 if (PtrSize != Src.IntVal.getBitWidth()) in executeIntToPtrInst() 1531 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 866 unsigned PtrSize = CGM.getDataLayout().getPointerSizeInBits(); in EmitAsanPrologueOrEpilogue() local 911 F, {Builder.CreateAdd(ThisPtr, Builder.getIntN(PtrSize, EndOffset)), in EmitAsanPrologueOrEpilogue() 912 Builder.getIntN(PtrSize, PoisonSize)}); in EmitAsanPrologueOrEpilogue()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1480 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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1532 uint32_t PtrSize = getDataLayout().getPointerSizeInBits(); in executeIntToPtrInst() local 1533 if (PtrSize != Src.IntVal.getBitWidth()) in executeIntToPtrInst() 1534 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGClass.cpp | 790 unsigned PtrSize = CGM.getDataLayout().getPointerSizeInBits(); in EmitAsanPrologueOrEpilogue() local 834 F, {Builder.CreateAdd(ThisPtr, Builder.getIntN(PtrSize, EndOffset)), in EmitAsanPrologueOrEpilogue() 835 Builder.getIntN(PtrSize, PoisonSize)}); in EmitAsanPrologueOrEpilogue()
|