/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 792 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/ |
D | IRTranslator.cpp | 875 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()
|
D | CombinerHelper.cpp | 1379 LLT OffsetTy = MRI.getType(MI.getOperand(2).getReg()); in applyPtrAddImmedChain() local 1380 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
|
D | LegalizerHelper.cpp | 2933 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/ |
D | ARMParallelDSP.cpp | 789 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/ |
D | IRTranslator.cpp | 1274 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 …]
|
D | MachineIRBuilder.cpp | 370 LLT OffsetTy = LLT::scalar(PtrTy.getSizeInBits()); in buildLoadFromOffset() local 371 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset()
|
D | CombinerHelper.cpp | 1533 LLT OffsetTy = MRI.getType(MI.getOperand(2).getReg()); in applyPtrAddImmedChain() local 1534 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
|
D | LegalizerHelper.cpp | 3765 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/ |
D | MachineVerifier.cpp | 1078 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/ |
D | MachineVerifier.cpp | 1105 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/ |
D | PPCFastISel.cpp | 451 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/ |
D | PPCFastISel.cpp | 444 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/ |
D | PPCFastISel.cpp | 443 IntegerType *OffsetTy = Type::getInt64Ty(*Context); in PPCSimplifyAddress() local 445 ConstantInt::getSigned(OffsetTy, (int64_t)(Addr.Offset)); in PPCSimplifyAddress()
|