Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp72 BasePtr = Use64BitReg ? X86::RBX : X86::EBX; in X86RegisterInfo()
77 BasePtr = X86::ESI; in X86RegisterInfo()
462 unsigned BasePtr = getX86SubSuperRegister(getBaseRegister(), 64); in getReservedRegs() local
463 for (MCSubRegIterator I(BasePtr, this, /*IncludeSelf=*/true); in getReservedRegs()
563 return MRI->canReserveReg(BasePtr); in canRealignStack()
582 unsigned BasePtr; in eliminateFrameIndex() local
589 BasePtr = (FrameIndex < 0 ? FramePtr : getBaseRegister()); in eliminateFrameIndex()
591 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
593 BasePtr = StackPtr; in eliminateFrameIndex()
595 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
[all …]
DX86RegisterInfo.h50 unsigned BasePtr; variable
135 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp80 unsigned BasePtr; in eliminateFrameIndex() local
81 int64_t Offset = (TFI->getFrameIndexReference(MF, FrameIndex, BasePtr) + in eliminateFrameIndex()
86 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex()
101 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
124 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
132 .addReg(BasePtr).addImm(HighOffset).addReg(0); in eliminateFrameIndex()
138 .addReg(ScratchReg, RegState::Kill).addReg(BasePtr); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp67 BasePtr = Use64BitReg ? X86::RBX : X86::EBX; in X86RegisterInfo()
72 BasePtr = X86::ESI; in X86RegisterInfo()
529 unsigned BasePtr = getX86SubSuperRegister(getBaseRegister(), 64); in getReservedRegs() local
530 for (MCSubRegIterator I(BasePtr, this, /*IncludeSelf=*/true); in getReservedRegs()
637 return MRI->canReserveReg(BasePtr); in canRealignStack()
662 unsigned BasePtr = MI.getOperand(1).getReg(); in tryOptimizeLEAtoMOV() local
667 BasePtr = getX86SubSuperRegister(BasePtr, 32); in tryOptimizeLEAtoMOV()
671 TII->copyPhysReg(*MI.getParent(), II, MI.getDebugLoc(), NewDestReg, BasePtr, in tryOptimizeLEAtoMOV()
688 unsigned BasePtr; in eliminateFrameIndex() local
693 FIOffset = TFI->getFrameIndexReferenceSP(MF, FrameIndex, BasePtr, 0); in eliminateFrameIndex()
[all …]
DX86RegisterInfo.h50 unsigned BasePtr; variable
135 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp123 static bool IsPtrInBounds(Value *BasePtr) { in IsPtrInBounds() argument
124 Value *StrippedBasePtr = BasePtr; in IsPtrInBounds()
314 Value *BasePtr = GetPointerOperand(MemI); in runOnLoop() local
315 assert(BasePtr && "No pointer operand"); in runOnLoop()
319 BasePtr->getType()->getPointerAddressSpace()); in runOnLoop()
357 PtrInc->setIsInBounds(IsPtrInBounds(BasePtr)); in runOnLoop()
367 if (PtrInc->getType() != BasePtr->getType()) in runOnLoop()
368 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(), in runOnLoop()
373 if (Instruction *IDel = dyn_cast<Instruction>(BasePtr)) in runOnLoop()
375 BasePtr->replaceAllUsesWith(NewBasePtr); in runOnLoop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp145 static bool IsPtrInBounds(Value *BasePtr) { in IsPtrInBounds() argument
146 Value *StrippedBasePtr = BasePtr; in IsPtrInBounds()
404 Value *BasePtr = GetPointerOperand(MemI); in runOnLoop() local
405 assert(BasePtr && "No pointer operand"); in runOnLoop()
409 BasePtr->getType()->getPointerAddressSpace()); in runOnLoop()
450 PtrInc->setIsInBounds(IsPtrInBounds(BasePtr)); in runOnLoop()
460 if (PtrInc->getType() != BasePtr->getType()) in runOnLoop()
461 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(), in runOnLoop()
466 if (Instruction *IDel = dyn_cast<Instruction>(BasePtr)) in runOnLoop()
468 BasePtr->replaceAllUsesWith(NewBasePtr); in runOnLoop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp177 unsigned BasePtr; in eliminateFrameIndex() local
178 int64_t Offset = (TFI->getFrameIndexReference(MF, FrameIndex, BasePtr) + in eliminateFrameIndex()
183 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, /*isDef*/ false); in eliminateFrameIndex()
198 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
221 MI->getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
229 .addReg(BasePtr).addImm(HighOffset).addReg(0); in eliminateFrameIndex()
235 .addReg(ScratchReg, RegState::Kill).addReg(BasePtr); in eliminateFrameIndex()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_stress_test.cc120 VoEBase* base = _mgr.BasePtr(); in StartStopTest()
195 VoEBase* base = _mgr.BasePtr(); in CreateDeleteChannelsTest()
305 VoEBase* base = _mgr.BasePtr(); in MultipleThreadsTest()
388 VoEBase* base = _mgr.BasePtr(); in ProcessExtraApi()
Dvoe_output_test.cc80 VoEBase* base = manager_.BasePtr(); in OutputTest()
117 VoEBase* base = manager_.BasePtr(); in Start()
/external/swiftshader/third_party/llvm-7.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()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DShadowStackGC.cpp67 IRBuilder<> &B, Value *BasePtr,
70 IRBuilder<> &B, Value *BasePtr,
350 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP() argument
355 Value* Val = B.CreateGEP(BasePtr, Indices, Name); in CreateGEP()
363 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP() argument
367 Value *Val = B.CreateGEP(BasePtr, Indices, Name); in CreateGEP()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp60 Type *Ty, Value *BasePtr, int Idx1,
63 Type *Ty, Value *BasePtr, int Idx1, int Idx2,
355 Value *BasePtr, int Idx, in CreateGEP() argument
361 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
369 IRBuilder<> &B, Type *Ty, Value *BasePtr, in CreateGEP() argument
373 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp328 SDValue BasePtr = ST->getBasePtr(); in select() local
331 if (isa<FrameIndexSDNode>(BasePtr) || isa<ConstantSDNode>(BasePtr) || in select()
332 BasePtr.isUndef()) { in select()
336 const RegisterSDNode *RN = dyn_cast<RegisterSDNode>(BasePtr.getOperand(0)); in select()
342 int CST = (int)cast<ConstantSDNode>(BasePtr.getOperand(1))->getZExtValue(); in select()
347 SDValue Ops[] = {BasePtr.getOperand(0), Offset, ST->getValue(), Chain}; in select()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex() local
137 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
154 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex() local
137 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
154 MI.getOperand(FIOperandNum).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.h104 LoadInst *LOAD(Value *BasePtr, const std::initializer_list<uint32_t> &offset, const llvm::Twine& na…
105 LoadInst *LOADV(Value *BasePtr, const std::initializer_list<Value*> &offset, const llvm::Twine& nam…
106 StoreInst *STORE(Value *Val, Value *BasePtr, const std::initializer_list<uint32_t> &offset);
107 StoreInst *STOREV(Value *Val, Value *BasePtr, const std::initializer_list<Value*> &offset);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp483 Value *BasePtr = in processLoopStridedStore() local
488 if (mayLoopAccessLocation(BasePtr, AliasAnalysis::ModRef, in processLoopStridedStore()
493 deleteIfDeadInstruction(BasePtr, *SE); in processLoopStridedStore()
515 NewCall = Builder.CreateMemSet(BasePtr, SplatValue,NumBytes,StoreAlignment); in processLoopStridedStore()
532 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes); in processLoopStridedStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp161 unsigned BasePtr = MRI.createVirtualRegister(PtrRC); in emitPrologue() local
162 FI->setBasePointerVreg(BasePtr); in emitPrologue()
163 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::COPY), BasePtr) in emitPrologue()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp111 unsigned BasePtr = (TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D); in eliminateFrameIndex() local
116 MI.getOperand(i).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430RegisterInfo.cpp181 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW); in eliminateFrameIndex() local
201 MI.getOperand(i).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
218 MI.getOperand(i).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseRegisterInfo.h86 unsigned BasePtr; variable
157 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h90 unsigned BasePtr;
162 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h103 unsigned BasePtr = ARM::R6;
177 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp2275 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorLoads() local
2287 SDValue LdOp = DAG.getLoad(NewVT, dl, Chain, BasePtr, LD->getPointerInfo(), in GenWidenVectorLoads()
2323 BasePtr = DAG.getNode(ISD::ADD, dl, BasePtr.getValueType(), BasePtr, in GenWidenVectorLoads()
2332 SDValue LdOp = DAG.getLoad(NewVT, dl, Chain, BasePtr, in GenWidenVectorLoads()
2408 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorExtLoads() local
2421 Ops[0] = DAG.getExtLoad(ExtType, dl, EltVT, Chain, BasePtr, in GenWidenVectorExtLoads()
2427 SDValue NewBasePtr = DAG.getNode(ISD::ADD, dl, BasePtr.getValueType(), in GenWidenVectorExtLoads()
2428 BasePtr, DAG.getIntPtrConstant(Offset)); in GenWidenVectorExtLoads()
2450 SDValue BasePtr = ST->getBasePtr(); in GenWidenVectorStores() local
2477 StChain.push_back(DAG.getStore(Chain, dl, EOp, BasePtr, in GenWidenVectorStores()
[all …]

1234