Home
last modified time | relevance | path

Searched refs:BasePtr (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp66 BasePtr = Use64BitReg ? X86::RBX : X86::EBX; in X86RegisterInfo()
71 BasePtr = X86::ESI; in X86RegisterInfo()
558 Register BasePtr = getX86SubSuperRegister(getBaseRegister(), 64); in getReservedRegs() local
559 for (const MCPhysReg &SubReg : subregs_inclusive(BasePtr)) in getReservedRegs()
665 return MRI->canReserveReg(BasePtr); in canRealignStack()
690 Register BasePtr = MI.getOperand(1).getReg(); in tryOptimizeLEAtoMOV() local
695 BasePtr = getX86SubSuperRegister(BasePtr, 32); in tryOptimizeLEAtoMOV()
699 TII->copyPhysReg(*MI.getParent(), II, MI.getDebugLoc(), NewDestReg, BasePtr, in tryOptimizeLEAtoMOV()
731 unsigned BasePtr; in eliminateFrameIndex() local
736 FIOffset = TFI->getFrameIndexReferenceSP(MF, FrameIndex, BasePtr, 0); in eliminateFrameIndex()
[all …]
DX86RegisterInfo.h49 unsigned BasePtr; variable
140 Register getBaseRegister() const { return BasePtr; } in getBaseRegister()
DX86FrameLowering.cpp1001 Register BasePtr = TRI->getBaseRegister(); in emitPrologue() local
1448 BuildMI(MBB, MBBI, DL, TII.get(Opc), BasePtr) in emitPrologue()
1470 assert(UsedReg == BasePtr); in emitPrologue()
2226 Register BasePtr = TRI->getBaseRegister(); in determineCalleeSaves() local
2228 BasePtr = getX86SubSuperRegister(BasePtr, 64); in determineCalleeSaves()
2229 SavedRegs.set(BasePtr); in determineCalleeSaves()
2950 Register BasePtr = TRI->getBaseRegister(); in restoreWin32EHStackPointers() local
2983 } else if (UsedReg == BasePtr) { in restoreWin32EHStackPointers()
2985 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::LEA32r), BasePtr), in restoreWin32EHStackPointers()
2992 assert(UsedReg == BasePtr); in restoreWin32EHStackPointers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp240 Value *BasePtr = checkGEP(Offsets, Ty, Ptr, Builder); in tryCreateMaskedGatherOffset() local
241 if (!BasePtr) in tryCreateMaskedGatherOffset()
246 BasePtr->getType()->getPointerElementType()->getPrimitiveSizeInBits(); in tryCreateMaskedGatherOffset()
266 {Ty, BasePtr->getType(), Offsets->getType(), Mask->getType()}, in tryCreateMaskedGatherOffset()
267 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
272 {Ty, BasePtr->getType(), Offsets->getType()}, in tryCreateMaskedGatherOffset()
273 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
DARMBaseRegisterInfo.h102 unsigned BasePtr = ARM::R6;
180 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
DARMBaseRegisterInfo.cpp200 markSuperRegs(Reserved, BasePtr); in getReservedRegs()
434 return MRI->canReserveReg(BasePtr); in canRealignStack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp256 static bool IsPtrInBounds(Value *BasePtr) { in IsPtrInBounds() argument
257 Value *StrippedBasePtr = BasePtr; in IsPtrInBounds()
503 Value *BasePtr = GetPointerOperand(MemI); in rewriteLoadStores() local
504 assert(BasePtr && "No pointer operand"); in rewriteLoadStores()
508 BasePtr->getType()->getPointerAddressSpace()); in rewriteLoadStores()
567 cast<GetElementPtrInst>(PtrInc)->setIsInBounds(IsPtrInBounds(BasePtr)); in rewriteLoadStores()
574 if (PtrInc->getType() != BasePtr->getType()) in rewriteLoadStores()
576 PtrInc, BasePtr->getType(), in rewriteLoadStores()
595 cast<GetElementPtrInst>(PtrInc)->setIsInBounds(IsPtrInBounds(BasePtr)); in rewriteLoadStores()
600 if (NewPHI->getType() != BasePtr->getType()) in rewriteLoadStores()
[all …]
DPPCISelLowering.cpp7461 SDValue BasePtr = LD->getBasePtr(); in LowerLOAD() local
7466 BasePtr, MVT::i8, MMO); in LowerLOAD()
7486 SDValue BasePtr = ST->getBasePtr(); in LowerSTORE() local
7492 return DAG.getTruncStore(Chain, dl, Value, BasePtr, MVT::i8, MMO); in LowerSTORE()
9231 SDValue BasePtr = LD->getBasePtr(); in LowerVECTOR_SHUFFLE() local
9233 BasePtr = DAG.getNode(ISD::ADD, dl, getPointerTy(DAG.getDataLayout()), in LowerVECTOR_SHUFFLE()
9234 BasePtr, DAG.getIntPtrConstant(Offset, dl)); in LowerVECTOR_SHUFFLE()
9237 BasePtr, // BasePtr in LowerVECTOR_SHUFFLE()
10036 SDValue BasePtr = LN->getBasePtr(); in LowerVectorLoad() local
10056 BasePtr, in LowerVectorLoad()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp79 Type *Ty, Value *BasePtr, int Idx1,
82 Type *Ty, Value *BasePtr, int Idx1, int Idx2,
258 Value *BasePtr, int Idx, in CreateGEP() argument
264 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
272 IRBuilder<> &B, Type *Ty, Value *BasePtr, in CreateGEP() argument
276 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
DInterleavedLoadCombinePass.cpp870 Value *BasePtr; in computeFromLI() local
880 computePolynomialFromPointer(*LI->getPointerOperand(), Offset, BasePtr, DL); in computeFromLI()
883 Result.PV = BasePtr; in computeFromLI()
957 Value *&BasePtr, in computePolynomialFromPointer()
963 BasePtr = nullptr; in computePolynomialFromPointer()
974 computePolynomialFromPointer(*CI.getOperand(0), Result, BasePtr, DL); in computePolynomialFromPointer()
977 BasePtr = &Ptr; in computePolynomialFromPointer()
991 BasePtr = GEP.getPointerOperand(); in computePolynomialFromPointer()
1009 BasePtr = nullptr; in computePolynomialFromPointer()
1026 BasePtr = GEP.getPointerOperand(); in computePolynomialFromPointer()
[all …]
DMachineOperand.cpp967 const Value *BasePtr = V.get<const Value *>(); in isDereferenceable() local
968 if (BasePtr == nullptr) in isDereferenceable()
972 BasePtr, Align::None(), APInt(DL.getPointerSizeInBits(), Offset + Size), in isDereferenceable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp270 unsigned BasePtr; in eliminateFrameIndex() local
271 int64_t Offset = (TFI->getFrameIndexReference(MF, FrameIndex, BasePtr) + in eliminateFrameIndex()
276 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex()
291 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
314 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
322 .addReg(BasePtr).addImm(HighOffset).addReg(0); in eliminateFrameIndex()
328 .addReg(ScratchReg, RegState::Kill).addReg(BasePtr); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp327 SDValue BasePtr = ST->getBasePtr(); in select() local
330 if (isa<FrameIndexSDNode>(BasePtr) || isa<ConstantSDNode>(BasePtr) || in select()
331 BasePtr.isUndef()) { in select()
335 const RegisterSDNode *RN = dyn_cast<RegisterSDNode>(BasePtr.getOperand(0)); in select()
341 int CST = (int)cast<ConstantSDNode>(BasePtr.getOperand(1))->getZExtValue(); in select()
346 SDValue Ops[] = {BasePtr.getOperand(0), Offset, ST->getValue(), Chain}; in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp115 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex() local
136 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
153 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp74 Value *BasePtr; member in __anonc47e59d50111::InitializerBuilder
90 InitializerBuilder(uint64_t Size, const DataLayout *DL, Value *BasePtr, in InitializerBuilder() argument
93 : Size(Size), DL(DL), BasePtr(BasePtr), SetTagFn(SetTagFn), in InitializerBuilder()
225 Value *Ptr = BasePtr; in emitZeroes()
235 Value *Ptr = BasePtr; in emitUndef()
244 Value *Ptr = BasePtr; in emitPair()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp186 Register BasePtr = MRI.createVirtualRegister(PtrRC); in emitPrologue() local
187 FI->setBasePointerVreg(BasePtr); in emitPrologue()
188 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::COPY), BasePtr) in emitPrologue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp85 Value *computeColumnAddr(Value *BasePtr, Value *Col, Value *Stride, in computeColumnAddr() argument
92 unsigned AS = cast<PointerType>(BasePtr->getType())->getAddressSpace(); in computeColumnAddr()
100 ColumnStart = BasePtr; in computeColumnAddr()
102 ColumnStart = Builder.CreateGEP(EltType, BasePtr, ColumnStart, "col.gep"); in computeColumnAddr()
530 Value *createElementPtr(Value *BasePtr, Type *EltType, IRBuilder<> &Builder) { in createElementPtr() argument
531 unsigned AS = cast<PointerType>(BasePtr->getType())->getAddressSpace(); in createElementPtr()
533 return Builder.CreatePointerCast(BasePtr, EltPtrType); in createElementPtr()
DLoopIdiomRecognize.cpp921 Value *BasePtr = in processLoopStridedStore() local
923 if (mayLoopAccessLocation(BasePtr, ModRefInfo::ModRef, CurLoop, BECount, in processLoopStridedStore()
927 RecursivelyDeleteTriviallyDeadInstructions(BasePtr, TLI); in processLoopStridedStore()
949 NewCall = Builder.CreateMemSet(BasePtr, SplatValue, NumBytes, in processLoopStridedStore()
969 NewCall = Builder.CreateCall(MSP, {BasePtr, PatternPtr, NumBytes}); in processLoopStridedStore()
DSROA.cpp1398 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP() argument
1401 return BasePtr; in buildGEP()
1406 return BasePtr; in buildGEP()
1408 return IRB.CreateInBoundsGEP(BasePtr->getType()->getPointerElementType(), in buildGEP()
1409 BasePtr, Indices, NamePrefix + "sroa_idx"); in buildGEP()
1422 Value *BasePtr, Type *Ty, Type *TargetTy, in getNaturalGEPWithType() argument
1426 return buildGEP(IRB, BasePtr, Indices, NamePrefix); in getNaturalGEPWithType()
1429 unsigned OffsetSize = DL.getIndexTypeSizeInBits(BasePtr->getType()); in getNaturalGEPWithType()
1458 return buildGEP(IRB, BasePtr, Indices, NamePrefix); in getNaturalGEPWithType()
3851 Instruction *BasePtr = cast<Instruction>(LI->getPointerOperand()); in presplitLoadsAndStores() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp423 SDValue BasePtr = LD->getBasePtr(); in LowerLOAD() local
429 if (DAG.isBaseWithConstantOffset(BasePtr) && in LowerLOAD()
430 isWordAligned(BasePtr->getOperand(0), DAG)) { in LowerLOAD()
431 SDValue NewBasePtr = BasePtr->getOperand(0); in LowerLOAD()
432 Offset = cast<ConstantSDNode>(BasePtr->getOperand(1))->getSExtValue(); in LowerLOAD()
436 if (TLI.isGAPlusOffset(BasePtr.getNode(), GV, Offset) && in LowerLOAD()
439 BasePtr->getValueType(0)); in LowerLOAD()
447 DAG.getExtLoad(ISD::ZEXTLOAD, DL, MVT::i32, Chain, BasePtr, in LowerLOAD()
450 SDValue HighAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, in LowerLOAD()
471 Entry.Node = BasePtr; in LowerLOAD()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSymbolRecordMapping.cpp505 case EncodedFramePtrReg::BasePtr: return RegisterId::EBX; in decodeFramePtrReg()
513 case EncodedFramePtrReg::BasePtr: return RegisterId::R13; in decodeFramePtrReg()
539 return EncodedFramePtrReg::BasePtr; in encodeFramePtrReg()
551 return EncodedFramePtrReg::BasePtr; in encodeFramePtrReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp1769 SDValue BasePtr = ST->getBasePtr(); in tryStore() local
1776 if (SelectDirectAddr(BasePtr, Addr)) { in tryStore()
1793 ? SelectADDRsi64(BasePtr.getNode(), BasePtr, Base, Offset) in tryStore()
1794 : SelectADDRsi(BasePtr.getNode(), BasePtr, Base, Offset)) { in tryStore()
1812 ? SelectADDRri64(BasePtr.getNode(), BasePtr, Base, Offset) in tryStore()
1813 : SelectADDRri(BasePtr.getNode(), BasePtr, Base, Offset)) { in tryStore()
1857 BasePtr, in tryStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp4881 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorLoads() local
4893 SDValue LdOp = DAG.getLoad(NewVT, dl, Chain, BasePtr, LD->getPointerInfo(), in GenWidenVectorLoads()
4928 BasePtr = DAG.getObjectPtrOffset(dl, BasePtr, Increment); in GenWidenVectorLoads()
4935 L = DAG.getLoad(NewVT, dl, Chain, BasePtr, in GenWidenVectorLoads()
4953 L = DAG.getLoad(NewVT, dl, Chain, BasePtr, in GenWidenVectorLoads()
5031 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorExtLoads() local
5045 DAG.getExtLoad(ExtType, dl, EltVT, Chain, BasePtr, LD->getPointerInfo(), in GenWidenVectorExtLoads()
5050 SDValue NewBasePtr = DAG.getObjectPtrOffset(dl, BasePtr, Offset); in GenWidenVectorExtLoads()
5071 SDValue BasePtr = ST->getBasePtr(); in GenWidenVectorStores() local
5100 Chain, dl, EOp, BasePtr, ST->getPointerInfo().getWithOffset(Offset), in GenWidenVectorStores()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp2249 SDValue BasePtr = cast<MemSDNode>(N)->getBasePtr(); in rebalanceAddressTrees() local
2250 if (BasePtr.getOpcode() != ISD::ADD) in rebalanceAddressTrees()
2254 if (RootWeights.count(BasePtr.getNode())) in rebalanceAddressTrees()
2263 Worklist.push_back(BasePtr.getOperand(0).getNode()); in rebalanceAddressTrees()
2264 Worklist.push_back(BasePtr.getOperand(1).getNode()); in rebalanceAddressTrees()
2288 RootWeights[BasePtr.getNode()] = -1; in rebalanceAddressTrees()
2289 SDValue NewBasePtr = balanceSubTree(BasePtr.getNode(), /*TopLevel=*/ true); in rebalanceAddressTrees()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h540 BasePtr = 3, enumerator

12