Home
last modified time | relevance | path

Searched refs:OffsetTy (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/lib/Target/ARM/
DARMParallelDSP.cpp792 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType()); in CreateWideLoad() local
793 Value *ShiftVal = ConstantInt::get(LoadTy, OffsetTy->getBitWidth()); in CreateWideLoad()
795 Value *Trunc = IRB.CreateTrunc(Top, OffsetTy); in CreateWideLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp875 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateLoad() local
889 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateLoad()
919 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateStore() local
932 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateStore()
1065 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr() local
1086 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr() local
1087 auto OffsetMIB = MIRBuilder.buildConstant({OffsetTy}, Offset); in translateGetElementPtr()
1094 if (MRI->getType(IdxReg) != OffsetTy) in translateGetElementPtr()
1095 IdxReg = MIRBuilder.buildSExtOrTrunc(OffsetTy, IdxReg).getReg(0); in translateGetElementPtr()
1104 MIRBuilder.buildMul(OffsetTy, ElementSizeMIB, IdxReg).getReg(0); in translateGetElementPtr()
DCombinerHelper.cpp1379 LLT OffsetTy = MRI.getType(MI.getOperand(2).getReg()); in applyPtrAddImmedChain() local
1380 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
DLegalizerHelper.cpp2933 const LLT OffsetTy = LLT::scalar(MRI.getType(AddrReg).getScalarSizeInBits()); in reduceLoadStoreWidth() local
2951 MIRBuilder.materializePtrAdd(NewAddrReg, AddrReg, OffsetTy, ByteOffset); in reduceLoadStoreWidth()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp789 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType()); in CreateWideLoad() local
790 Value *ShiftVal = ConstantInt::get(LoadTy, OffsetTy->getBitWidth()); in CreateWideLoad()
792 Value *Trunc = IRB.CreateTrunc(Top, OffsetTy); in CreateWideLoad()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp1274 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateLoad() local
1291 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateLoad()
1317 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateStore() local
1333 MIRBuilder.materializePtrAdd(Addr, Base, OffsetTy, Offsets[i] / 8); in translateStore()
1465 LLT OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr() local
1482 OffsetTy = getLLTForType(*OffsetIRTy, *DL); in translateGetElementPtr()
1504 auto OffsetMIB = MIRBuilder.buildConstant({OffsetTy}, Offset); in translateGetElementPtr()
1512 if (IdxTy != OffsetTy) { in translateGetElementPtr()
1515 OffsetTy.changeElementType(IdxTy), IdxReg).getReg(0); in translateGetElementPtr()
1518 IdxReg = MIRBuilder.buildSExtOrTrunc(OffsetTy, IdxReg).getReg(0); in translateGetElementPtr()
[all …]
DMachineIRBuilder.cpp370 LLT OffsetTy = LLT::scalar(PtrTy.getSizeInBits()); in buildLoadFromOffset() local
371 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset()
DCombinerHelper.cpp1533 LLT OffsetTy = MRI.getType(MI.getOperand(2).getReg()); in applyPtrAddImmedChain() local
1534 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
DLegalizerHelper.cpp3765 const LLT OffsetTy = LLT::scalar(PtrTy.getSizeInBits()); in reduceLoadStoreWidth() local
3783 MIRBuilder.materializePtrAdd(NewAddrReg, AddrReg, OffsetTy, ByteOffset); in reduceLoadStoreWidth()
/external/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1078 LLT OffsetTy = MRI->getType(MI->getOperand(2).getReg()); in verifyPreISelGenericInstruction() local
1079 if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid()) in verifyPreISelGenericInstruction()
1085 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1105 LLT OffsetTy = MRI->getType(MI->getOperand(2).getReg()); in verifyPreISelGenericInstruction() local
1106 if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid()) in verifyPreISelGenericInstruction()
1112 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp451 IntegerType *OffsetTy = Type::getInt64Ty(*Context); in PPCSimplifyAddress() local
453 ConstantInt::getSigned(OffsetTy, (int64_t)(Addr.Offset)); in PPCSimplifyAddress()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp444 IntegerType *OffsetTy = Type::getInt64Ty(*Context); in PPCSimplifyAddress() local
446 ConstantInt::getSigned(OffsetTy, (int64_t)(Addr.Offset)); in PPCSimplifyAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp443 IntegerType *OffsetTy = Type::getInt64Ty(*Context); in PPCSimplifyAddress() local
445 ConstantInt::getSigned(OffsetTy, (int64_t)(Addr.Offset)); in PPCSimplifyAddress()