Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DShadowStackGC.cpp67 IRBuilder<> &B, Value *BasePtr,
70 IRBuilder<> &B, Value *BasePtr,
338 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP() argument
343 Value* Val = B.CreateGEP(BasePtr, Indices, Indices + 3, Name); in CreateGEP()
351 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP() argument
355 Value *Val = B.CreateGEP(BasePtr, Indices, Indices + 2, Name); in CreateGEP()
/external/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/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/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/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h99 unsigned BasePtr; variable
168 unsigned getBaseRegister() const { return BasePtr; } in getBaseRegister()
DThumb1FrameLowering.cpp62 unsigned BasePtr = RegInfo->getBaseRegister(); in emitPrologue() local
163 AddDefaultPred(BuildMI(MBB, MBBI, dl, TII.get(ARM::tMOVr), BasePtr) in emitPrologue()
DARMBaseRegisterInfo.cpp61 BasePtr(ARM::R6) { in ARMBaseRegisterInfo()
100 Reserved.set(BasePtr); in getReservedRegs()
DThumb1RegisterInfo.cpp631 FrameReg = BasePtr; in eliminateFrameIndex()
DARMISelLowering.cpp6028 SDValue BasePtr = LD->getBasePtr(); in PerformVMOVRRDCombine() local
6029 SDValue NewLD1 = DAG.getLoad(MVT::i32, DL, LD->getChain(), BasePtr, in PerformVMOVRRDCombine()
6033 SDValue OffsetPtr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, in PerformVMOVRRDCombine()
6083 SDValue BasePtr = St->getBasePtr(); in PerformSTORECombine() local
6085 StVal.getNode()->getOperand(0), BasePtr, in PerformSTORECombine()
6089 SDValue OffsetPtr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, in PerformSTORECombine()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp2241 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorLoads() local
2253 SDValue LdOp = DAG.getLoad(NewVT, dl, Chain, BasePtr, LD->getPointerInfo(), in GenWidenVectorLoads()
2289 BasePtr = DAG.getNode(ISD::ADD, dl, BasePtr.getValueType(), BasePtr, in GenWidenVectorLoads()
2298 SDValue LdOp = DAG.getLoad(NewVT, dl, Chain, BasePtr, in GenWidenVectorLoads()
2374 SDValue BasePtr = LD->getBasePtr(); in GenWidenVectorExtLoads() local
2387 Ops[0] = DAG.getExtLoad(ExtType, dl, EltVT, Chain, BasePtr, in GenWidenVectorExtLoads()
2393 SDValue NewBasePtr = DAG.getNode(ISD::ADD, dl, BasePtr.getValueType(), in GenWidenVectorExtLoads()
2394 BasePtr, DAG.getIntPtrConstant(Offset)); in GenWidenVectorExtLoads()
2416 SDValue BasePtr = ST->getBasePtr(); in GenWidenVectorStores() local
2443 StChain.push_back(DAG.getStore(Chain, dl, EOp, BasePtr, in GenWidenVectorStores()
[all …]
DDAGCombiner.cpp5908 SDValue BasePtr; in CombineToPreIndexedLoadStore() local
5911 if (!TLI.getPreIndexedAddressParts(N, BasePtr, Offset, AM, DAG)) in CombineToPreIndexedLoadStore()
5928 if (isa<FrameIndexSDNode>(BasePtr) || isa<RegisterSDNode>(BasePtr)) in CombineToPreIndexedLoadStore()
5934 if (Val == BasePtr || BasePtr.getNode()->isPredecessorOf(Val.getNode())) in CombineToPreIndexedLoadStore()
5966 BasePtr, Offset, AM); in CombineToPreIndexedLoadStore()
5969 BasePtr, Offset, AM); in CombineToPreIndexedLoadStore()
6043 SDValue BasePtr; in CombineToPostIndexedLoadStore() local
6046 if (TLI.getPostIndexedAddressParts(N, Op, BasePtr, Offset, AM, DAG)) { in CombineToPostIndexedLoadStore()
6058 if (isa<FrameIndexSDNode>(BasePtr) || isa<RegisterSDNode>(BasePtr)) in CombineToPostIndexedLoadStore()
6063 for (SDNode::use_iterator II = BasePtr.getNode()->use_begin(), in CombineToPostIndexedLoadStore()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp405 SDValue BasePtr = LD->getBasePtr(); in LowerLOAD() local
411 IsWordAlignedBasePlusConstantOffset(BasePtr, Base, Offset)) { in LowerLOAD()
416 return DAG.getLoad(getPointerTy(), DL, Chain, BasePtr, in LowerLOAD()
449 BasePtr, LD->getPointerInfo(), MVT::i16, in LowerLOAD()
451 SDValue HighAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, in LowerLOAD()
473 Entry.Node = BasePtr; in LowerLOAD()
505 SDValue BasePtr = ST->getBasePtr(); in LowerSTORE() local
513 SDValue StoreLow = DAG.getTruncStore(Chain, dl, Low, BasePtr, in LowerSTORE()
517 SDValue HighAddr = DAG.getNode(ISD::ADD, dl, MVT::i32, BasePtr, in LowerSTORE()
532 Entry.Node = BasePtr; in LowerSTORE()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp585 unsigned BasePtr; in eliminateFrameIndex() local
590 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
592 BasePtr = StackPtr; in eliminateFrameIndex()
594 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
598 MI.getOperand(i).ChangeToRegister(BasePtr, false); in eliminateFrameIndex()
/external/llvm/lib/Support/Unix/
DPath.inc880 void *BasePtr = ::mmap(0, FileSize, PROT_READ, Flags, FD, Offset);
881 if (BasePtr == MAP_FAILED)
883 return (const char*)BasePtr;
886 void Path::UnMapFilePages(const char *BasePtr, size_t FileSize) {
887 ::munmap((void*)BasePtr, FileSize);
/external/llvm/lib/Analysis/
DConstantFolding.cpp637 APInt BasePtr(BitWidth, 0); in SymbolicallyEvaluateGEP() local
641 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
642 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP()
643 Constant *C = ConstantInt::get(Ptr->getContext(), Offset+BasePtr); in SymbolicallyEvaluateGEP()
/external/clang/lib/CodeGen/
DCGClass.cpp576 llvm::Type *BasePtr = CGF.ConvertType(BaseElementTy); in EmitMemberInitializer() local
577 BasePtr = llvm::PointerType::getUnqual(BasePtr); in EmitMemberInitializer()
579 BasePtr); in EmitMemberInitializer()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2174 Value *BasePtr; in ParseFunctionBody() local
2175 if (getValueTypePair(Record, OpNum, NextValueNo, BasePtr)) in ParseFunctionBody()
2186 I = GetElementPtrInst::Create(BasePtr, GEPIdx.begin(), GEPIdx.end()); in ParseFunctionBody()