Searched refs:OffsetTy (Results 1 – 8 of 8) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 782 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType()); in CreateWideLoad() local 783 Value *ShiftVal = ConstantInt::get(LoadTy, OffsetTy->getBitWidth()); in CreateWideLoad() 785 Value *Trunc = IRB.CreateTrunc(Top, OffsetTy); in CreateWideLoad()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 418 IntegerType *OffsetTy = DL->getIndexType(*Ctx, GVPtrTy->getAddressSpace()); in collectConstantCandidates() local 419 APInt Offset(DL->getTypeSizeInBits(OffsetTy), /*val*/ 0, /*isSigned*/ true); in collectConstantCandidates() 440 TTI->getIntImmCostInst(Instruction::Add, 1, Offset, OffsetTy, in collectConstantCandidates()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1375 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateLoad() local 1398 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateLoad() 1422 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateStore() local 1437 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateStore() 1581 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr() local 1610 OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr() 1634 auto OffsetMIB = MIRBuilder.buildConstant({OffsetTy}, Offset); in translateGetElementPtr() 1642 if (IdxTy != OffsetTy) { in translateGetElementPtr() 1645 .buildSplatBuildVector(OffsetTy.changeElementType(IdxTy), in translateGetElementPtr() 1650 IdxReg = MIRBuilder.buildSExtOrTrunc(OffsetTy, IdxReg).getReg(0); in translateGetElementPtr() [all …]
|
| H A D | MachineIRBuilder.cpp | 462 LLT OffsetTy = LLT::scalar(PtrTy.getSizeInBits()); in buildLoadFromOffset() local 463 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset()
|
| H A D | CombinerHelper.cpp | 1767 LLT OffsetTy = MRI.getType(MI.getOperand(2).getReg()); in applyPtrAddImmedChain() local 1768 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
|
| H A D | LegalizerHelper.cpp | 4652 const LLT OffsetTy = LLT::scalar(PtrTy.getSizeInBits()); in reduceLoadStoreWidth() local 4671 MIRBuilder.materializePtrAdd(NewAddrReg, AddrReg, OffsetTy, ByteOffset); in reduceLoadStoreWidth()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1329 LLT OffsetTy = MRI->getType(MI->getOperand(2).getReg()); in verifyPreISelGenericInstruction() local 1330 if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid()) in verifyPreISelGenericInstruction() 1336 if (OffsetTy.isPointerOrPointerVector()) in verifyPreISelGenericInstruction() 1343 if (OffsetTy.getScalarSizeInBits() != IndexSizeInBits) { in verifyPreISelGenericInstruction()
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCFastISel.cpp | 438 IntegerType *OffsetTy = Type::getInt64Ty(*Context); in PPCSimplifyAddress() local 439 const ConstantInt *Offset = ConstantInt::getSigned(OffsetTy, Addr.Offset); in PPCSimplifyAddress()
|