| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.cpp | 25 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, in createMemCpyLoopKnownSize() argument 44 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 88 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 140 Int8Type, DstAddr, ConstantInt::get(TypeOfCopyLen, BytesCopied)); in createMemCpyLoopKnownSize() 181 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, Value *CopyLen, in createMemCpyLoopUnknownSize() argument 198 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 249 Value *DstGEP = LoopBuilder.CreateInBoundsGEP(Int8Type, DstAddr, LoopIndex); in createMemCpyLoopUnknownSize() 318 Value *DstGEP = ResBuilder.CreateInBoundsGEP(Int8Type, DstAddr, FullOffset); in createMemCpyLoopUnknownSize() 403 Value *SrcAddr, Value *DstAddr, in createMemMoveLoopUnknownSize() argument 414 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemMoveLoopUnknownSize() [all …]
|
| H A D | CodeLayout.cpp | 153 double extTSPScore(uint64_t SrcAddr, uint64_t SrcSize, uint64_t DstAddr, in extTSPScore() argument 156 if (SrcAddr + SrcSize == DstAddr) { in extTSPScore() 162 if (SrcAddr + SrcSize < DstAddr) { in extTSPScore() 163 const uint64_t Dist = DstAddr - (SrcAddr + SrcSize); in extTSPScore() 169 const uint64_t Dist = SrcAddr + SrcSize - DstAddr; in extTSPScore() 1295 double distScore(uint64_t SrcAddr, uint64_t DstAddr, uint64_t Count) const { in distScore() argument 1296 uint64_t Dist = SrcAddr <= DstAddr ? DstAddr - SrcAddr : SrcAddr - DstAddr; in distScore() 1314 uint64_t DstAddr = Jump->Target->EstimatedAddr; in distBasedLocalityGain() local 1315 NewScore += distScore(SrcAddr, DstAddr, Jump->ExecutionCount); in distBasedLocalityGain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMCInstLower.h | 63 auto DstAddr = CE->getType()->getPointerAddressSpace(); in lowerAddrSpaceCast() local 64 return MCConstantExpr::create(AT.getNullPointerValue(DstAddr), in lowerAddrSpaceCast()
|
| H A D | SIISelLowering.cpp | 3956 SDValue DstAddr; in LowerCall() local 3979 DstAddr = DAG.getFrameIndex(FI, PtrVT); in LowerCall() 3994 DstAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, SP, PtrOff); in LowerCall() 4004 DAG.getMemcpy(Chain, DL, DstAddr, Arg, SizeNode, in LowerCall() 4013 DAG.getStore(Chain, DL, Arg, DstAddr, DstInfo, Alignment); in LowerCall()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.h | 38 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, Value *CopyLen, 46 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr,
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 374 Address DstAddr = StartAddrs[DstIdx]; in visitArray() local 375 llvm::Value *NumElts = CGF.emitArrayLength(AT, BaseEltQT, DstAddr); in visitArray() 382 CGF.Int8Ty, DstAddr.emitRawPointer(CGF), SizeInBytes); in visitArray() 530 Address DstAddr = this->getAddrWithOffset(Addrs[DstIdx], this->Start); in flushTrivialFields() local 538 DstAddr = DstAddr.withElementType(this->CGF->Int8Ty); in flushTrivialFields() 540 this->CGF->Builder.CreateMemCpy(DstAddr, SrcAddr, SizeVal, false); in flushTrivialFields() 545 DstAddr = DstAddr.withElementType(Ty); in flushTrivialFields() 548 this->CGF->Builder.CreateStore(SrcVal, DstAddr, false); in flushTrivialFields() 565 Address DstAddr = this->getAddrWithOffset(Addrs[DstIdx], Offset); in visitVolatileTrivial() local 567 this->CGF->MakeAddrLValue(DstAddr.withElementType(Ty), FT); in visitVolatileTrivial() [all …]
|
| H A D | CGObjC.cpp | 2707 void CodeGenFunction::emitARCCopyAssignWeak(QualType Ty, Address DstAddr, in emitARCCopyAssignWeak() argument 2711 EmitARCStoreWeak(DstAddr, Object, false); in emitARCCopyAssignWeak() 2714 void CodeGenFunction::emitARCMoveAssignWeak(QualType Ty, Address DstAddr, in emitARCMoveAssignWeak() argument 2718 EmitARCStoreWeak(DstAddr, Object, false); in emitARCMoveAssignWeak()
|
| H A D | CGExpr.cpp | 2689 Address DstAddr = Dst.getExtVectorAddress(); in EmitStoreThroughExtVectorComponentLValue() local 2690 if (DstAddr.getElementType()->getScalarSizeInBits() > in EmitStoreThroughExtVectorComponentLValue() 2698 if (!DstAddr.getElementType()->isVectorTy()) { in EmitStoreThroughExtVectorComponentLValue() 2701 Builder.CreateStore(SrcVal, DstAddr, Dst.isVolatileQualified()); in EmitStoreThroughExtVectorComponentLValue() 2707 llvm::Value *Vec = Builder.CreateLoad(DstAddr, Dst.isVolatileQualified()); in EmitStoreThroughExtVectorComponentLValue()
|
| H A D | CodeGenFunction.h | 4917 void emitARCCopyAssignWeak(QualType Ty, Address DstAddr, Address SrcAddr); 4918 void emitARCMoveAssignWeak(QualType Ty, Address DstAddr, Address SrcAddr);
|
| H A D | CGStmtOpenMP.cpp | 403 Address DstAddr = CreateMemTemp( in GenerateOpenMPCapturedVars() local 406 LValue DstLV = MakeAddrLValue(DstAddr, Ctx.getUIntPtrType()); in GenerateOpenMPCapturedVars() 409 DstAddr.emitRawPointer(*this), in GenerateOpenMPCapturedVars()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAggrCopies.cpp | 106 Value *DstAddr = SI->getOperand(1); in runOnFunction() local 112 /* SrcAddr */ SrcAddr, /* DstAddr */ DstAddr, in runOnFunction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 1471 void shuffleAndStore(InsertPointTy AllocaIP, Value *SrcAddr, Value *DstAddr,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 2297 SDValue DstAddr; in computeAddrForCallArg() local 2307 DstAddr = DAG.getFrameIndex(FI, PtrVT); in computeAddrForCallArg() 2312 DstAddr = DAG.getNode(ISD::ADD, dl, getPointerTy(DAG.getDataLayout()), in computeAddrForCallArg() 2318 return std::make_pair(DstAddr, DstInfo); in computeAddrForCallArg() 2395 SDValue DstAddr; in PassF64ArgInRegs() local 2397 std::tie(DstAddr, DstInfo) = in PassF64ArgInRegs() 2400 DAG.getStore(Chain, dl, fmrrd.getValue(1 - id), DstAddr, DstInfo)); in PassF64ArgInRegs() 2682 SDValue DstAddr; in LowerCall() local 2684 std::tie(DstAddr, DstInfo) = in LowerCall() 2686 MemOpChains.push_back(DAG.getStore(Chain, dl, Op1, DstAddr, DstInfo)); in LowerCall() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2421 Value *DstAddr, Type *ElemType, in shuffleAndStore() argument 2436 Value *ElemPtr = DstAddr; in shuffleAndStore()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 9246 SDValue DstAddr; in LowerCall() local 9277 DstAddr = DAG.getFrameIndex(FI, PtrVT); in LowerCall() 9287 DstAddr = DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, PtrOff); in LowerCall() 9295 Chain, DL, DstAddr, Arg, SizeNode, in LowerCall() 9309 SDValue Store = DAG.getStore(Chain, DL, Arg, DstAddr, DstInfo); in LowerCall()
|