/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 25 void llvm::createMemCpyLoopKnownSize(Instruction *InsertBefore, Value *SrcAddr, in createMemCpyLoopKnownSize() argument 46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 62 if (SrcAddr->getType() != SrcOpType) { in createMemCpyLoopKnownSize() 63 SrcAddr = PLBuilder.CreateBitCast(SrcAddr, SrcOpType); in createMemCpyLoopKnownSize() 74 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 112 Value *CastedSrc = SrcAddr->getType() == SrcPtrType in createMemCpyLoopKnownSize() 113 ? SrcAddr in createMemCpyLoopKnownSize() 114 : RBuilder.CreateBitCast(SrcAddr, SrcPtrType); in createMemCpyLoopKnownSize() 136 Value *SrcAddr, Value *DstAddr, in createMemCpyLoopUnknownSize() argument 154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 17 void llvm::createMemCpyLoopKnownSize(Instruction *InsertBefore, Value *SrcAddr, in createMemCpyLoopKnownSize() argument 32 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 55 if (SrcAddr->getType() != SrcOpType) { in createMemCpyLoopKnownSize() 56 SrcAddr = PLBuilder.CreateBitCast(SrcAddr, SrcOpType); in createMemCpyLoopKnownSize() 70 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 109 Value *CastedSrc = SrcAddr->getType() == SrcPtrType in createMemCpyLoopKnownSize() 110 ? SrcAddr in createMemCpyLoopKnownSize() 111 : RBuilder.CreateBitCast(SrcAddr, SrcPtrType); in createMemCpyLoopKnownSize() 134 Value *SrcAddr, Value *DstAddr, in createMemCpyLoopUnknownSize() argument 146 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 60 void convertMemCpyToLoop(Instruction *ConvertedInst, Value *SrcAddr, in convertMemCpyToLoop() argument 76 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in convertMemCpyToLoop() 80 SrcAddr = Builder.CreateBitCast(SrcAddr, Builder.getInt8PtrTy(SrcAS)); in convertMemCpyToLoop() 92 LoopBuilder.getInt8Ty(), SrcAddr, LoopIndex), in convertMemCpyToLoop() 131 void convertMemMoveToLoop(Instruction *ConvertedInst, Value *SrcAddr, in convertMemMoveToLoop() argument 145 SrcAddr, DstAddr, "compare_src_dst"); in convertMemMoveToLoop() 176 LoopBuilder.CreateInBoundsGEP(SrcAddr, IndexPtr), "element"); in convertMemMoveToLoop() 193 FwdLoopBuilder.CreateInBoundsGEP(SrcAddr, FwdCopyPhi), "element"); in convertMemMoveToLoop() 287 Value *SrcAddr = LI->getOperand(0); in runOnFunction() local 293 /* SrcAddr */ SrcAddr, /* DstAddr */ DstAddr, in runOnFunction()
|
D | NVPTXISelLowering.cpp | 2277 SDValue SrcAddr = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, in LowerFormalArguments() local 2280 VecVT, dl, Root, SrcAddr, MachinePointerInfo(SrcValue), false, in LowerFormalArguments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | LowerMemIntrinsics.h | 29 void createMemCpyLoopUnknownSize(Instruction *InsertBefore, Value *SrcAddr, 37 void createMemCpyLoopKnownSize(Instruction *InsertBefore, Value *SrcAddr,
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | LowerMemIntrinsics.h | 30 void createMemCpyLoopUnknownSize(Instruction *InsertBefore, Value *SrcAddr, 38 void createMemCpyLoopKnownSize(Instruction *InsertBefore, Value *SrcAddr,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 107 Value *SrcAddr = LI->getOperand(0); in runOnFunction() local 114 /* SrcAddr */ SrcAddr, /* DstAddr */ DstAddr, in runOnFunction()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 107 Value *SrcAddr = LI->getOperand(0); in runOnFunction() local 114 /* SrcAddr */ SrcAddr, /* DstAddr */ DstAddr, in runOnFunction()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGNonTrivialStruct.cpp | 527 Address SrcAddr = this->getAddrWithOffset(Addrs[SrcIdx], this->Start); in flushTrivialFields() local 535 SrcAddr = in flushTrivialFields() 536 this->CGF->Builder.CreateElementBitCast(SrcAddr, this->CGF->Int8Ty); in flushTrivialFields() 537 this->CGF->Builder.CreateMemCpy(DstAddr, SrcAddr, SizeVal, false); in flushTrivialFields() 543 SrcAddr = this->CGF->Builder.CreateElementBitCast(SrcAddr, Ty); in flushTrivialFields() 544 llvm::Value *SrcVal = this->CGF->Builder.CreateLoad(SrcAddr, false); in flushTrivialFields() 566 Address SrcAddr = this->getAddrWithOffset(Addrs[SrcIdx], Offset); in visitVolatileTrivial() local 568 this->CGF->Builder.CreateBitCast(SrcAddr, PtrTy), FT); in visitVolatileTrivial() 573 Address SrcAddr = this->CGF->Builder.CreateBitCast(Addrs[SrcIdx], Ty); in visitVolatileTrivial() local 575 SrcLV = this->CGF->MakeAddrLValue(SrcAddr, FT); in visitVolatileTrivial()
|
D | TargetInfo.h | 261 llvm::Value *V, LangAS SrcAddr, 272 LangAS SrcAddr, LangAS DestAddr,
|
D | CGStmtOpenMP.cpp | 665 Address DestAddr, Address SrcAddr, QualType OriginalType, in EmitOMPAggregateAssign() argument 673 SrcAddr = Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType()); in EmitOMPAggregateAssign() 675 llvm::Value *SrcBegin = SrcAddr.getPointer(); in EmitOMPAggregateAssign() 697 SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize)); in EmitOMPAggregateAssign() 726 Address SrcAddr, const VarDecl *DestVD, in EmitOMPCopy() argument 733 LValue Src = MakeAddrLValue(SrcAddr, OriginalType); in EmitOMPCopy() 739 DestAddr, SrcAddr, OriginalType, in EmitOMPCopy() 754 Remap.addPrivate(SrcVD, [SrcAddr]() { return SrcAddr; }); in EmitOMPCopy()
|
D | CGObjC.cpp | 2597 Address SrcAddr) { in emitARCCopyAssignWeak() argument 2598 llvm::Value *Object = EmitARCLoadWeakRetained(SrcAddr); in emitARCCopyAssignWeak() 2604 Address SrcAddr) { in emitARCMoveAssignWeak() argument 2605 llvm::Value *Object = EmitARCLoadWeakRetained(SrcAddr); in emitARCMoveAssignWeak() 2608 EmitARCDestroyWeak(SrcAddr); in emitARCMoveAssignWeak()
|
D | CodeGenFunction.h | 3251 Address DestAddr, Address SrcAddr, QualType OriginalType, 3265 Address DestAddr, Address SrcAddr, 4152 void emitARCCopyAssignWeak(QualType Ty, Address DstAddr, Address SrcAddr); 4153 void emitARCMoveAssignWeak(QualType Ty, Address DstAddr, Address SrcAddr);
|
D | CGOpenMPRuntimeGPU.cpp | 2496 static void shuffleAndStore(CodeGenFunction &CGF, Address SrcAddr, in shuffleAndStore() argument 2513 Address Ptr = SrcAddr; in shuffleAndStore() 2515 Bld.CreateConstGEP(SrcAddr, 1), CGF.VoidPtrTy); in shuffleAndStore()
|
D | CGBuiltin.cpp | 3146 Address SrcAddr = EmitPointerWithAlignment(E->getArg(1)); in EmitBuiltinExpr() local 3149 DestAddr, SrcAddr, SizeVal); in EmitBuiltinExpr() 4825 Address SrcAddr = EmitMSVAListRef(E->getArg(1)); in EmitBuiltinExpr() local 4831 SrcAddr = Address(Builder.CreateBitCast(SrcAddr.getPointer(), BPP, "ap"), in EmitBuiltinExpr() 4832 SrcAddr.getAlignment()); in EmitBuiltinExpr() 4834 Value *ArgPtr = Builder.CreateLoad(SrcAddr, "ap.val"); in EmitBuiltinExpr() 16451 llvm::Value *SrcAddr = Args.Src; in EmitBuiltinAlignTo() local 16453 SrcAddr = Builder.CreatePtrToInt(Args.Src, Args.IntType, "intptr"); in EmitBuiltinAlignTo() 16454 llvm::Value *SrcForMask = SrcAddr; in EmitBuiltinAlignTo() 16472 llvm::Value *Difference = Builder.CreateSub(Result, SrcAddr, "diff"); in EmitBuiltinAlignTo()
|
D | CGOpenMPRuntime.cpp | 672 Address SrcAddr = Address::invalid()) { in EmitOMPAggregateInit() argument 682 SrcAddr = in EmitOMPAggregateInit() 683 CGF.Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType()); in EmitOMPAggregateInit() 687 SrcBegin = SrcAddr.getPointer(); in EmitOMPAggregateInit() 712 SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize)); in EmitOMPAggregateInit() 2356 Address SrcAddr = emitAddrOfVarFromArray(CGF, RHS, I, SrcVar); in emitCopyprivateCopyFunction() local 2360 CGF.EmitOMPCopy(Type, DestAddr, SrcAddr, DestVar, SrcVar, AssignmentOps[I]); in emitCopyprivateCopyFunction()
|
D | TargetInfo.cpp | 466 CodeGen::CodeGenFunction &CGF, llvm::Value *Src, LangAS SrcAddr, in performAddrSpaceCast() argument 471 return performAddrSpaceCast(CGF.CGM, C, SrcAddr, DestAddr, DestTy); in performAddrSpaceCast() 479 LangAS SrcAddr, LangAS DestAddr, in performAddrSpaceCast() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMCInstLower.cpp | 241 auto SrcAddr = Op->getType()->getPointerAddressSpace(); in lowerAddrSpaceCast() local 242 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMCInstLower.cpp | 241 auto SrcAddr = Op->getType()->getPointerAddressSpace(); in lowerAddrSpaceCast() local 242 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 324 Address DestAddr, Address SrcAddr, QualType OriginalType, in EmitOMPAggregateAssign() argument 332 SrcAddr = Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType()); in EmitOMPAggregateAssign() 334 auto SrcBegin = SrcAddr.getPointer(); in EmitOMPAggregateAssign() 356 SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize)); in EmitOMPAggregateAssign() 453 Address SrcAddr = Address::invalid()) { in EmitOMPAggregateInit() argument 464 SrcAddr = in EmitOMPAggregateInit() 465 CGF.Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType()); in EmitOMPAggregateInit() 469 SrcBegin = SrcAddr.getPointer(); in EmitOMPAggregateInit() 494 SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize)); in EmitOMPAggregateInit() 535 Address SrcAddr, const VarDecl *DestVD, in EmitOMPCopy() argument [all …]
|
D | CodeGenFunction.h | 2357 Address DestAddr, Address SrcAddr, QualType OriginalType, 2371 Address DestAddr, Address SrcAddr,
|
D | CGBuiltin.cpp | 1007 Address SrcAddr = EmitPointerWithAlignment(E->getArg(1)); in EmitBuiltinExpr() local 1010 DestAddr, SrcAddr, SizeVal); in EmitBuiltinExpr() 6692 Address SrcAddr = EmitMSVAListRef(E->getArg(1)); in EmitX86BuiltinExpr() local 6698 SrcAddr = Address(Builder.CreateBitCast(SrcAddr.getPointer(), BPP, "ap"), in EmitX86BuiltinExpr() 6699 SrcAddr.getAlignment()); in EmitX86BuiltinExpr() 6701 Value *ArgPtr = Builder.CreateLoad(SrcAddr, "ap.val"); in EmitX86BuiltinExpr()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 772 uint64_t RuntimeDyldCheckerImpl::readMemoryAtAddr(uint64_t SrcAddr, in readMemoryAtAddr() argument 774 uintptr_t PtrSizedAddr = static_cast<uintptr_t>(SrcAddr); in readMemoryAtAddr() 775 assert(PtrSizedAddr == SrcAddr && "Linker memory pointer out-of-range."); in readMemoryAtAddr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 761 uint64_t RuntimeDyldCheckerImpl::readMemoryAtAddr(uint64_t SrcAddr, in readMemoryAtAddr() argument 763 uintptr_t PtrSizedAddr = static_cast<uintptr_t>(SrcAddr); in readMemoryAtAddr() 764 assert(PtrSizedAddr == SrcAddr && "Linker memory pointer out-of-range."); in readMemoryAtAddr()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 748 uint64_t RuntimeDyldCheckerImpl::readMemoryAtAddr(uint64_t SrcAddr, in readMemoryAtAddr() argument 750 uintptr_t PtrSizedAddr = static_cast<uintptr_t>(SrcAddr); in readMemoryAtAddr() 751 assert(PtrSizedAddr == SrcAddr && "Linker memory pointer out-of-range."); in readMemoryAtAddr()
|