Searched refs:DestAS (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1021 LangAS DestAS = LangAS::Default; member in class:clang::OverloadCandidateSet
1140 LangAS getDestAS() { return DestAS; }
1147 DestAS = AS;
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp123 auto DestAS = local
126 CGM.getContext().getTargetAddressSpace(DestAS));
128 if (DestAS == SrcAS)
H A DCGAtomic.cpp1021 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic);
1023 auto *DestType = T->getPointerElementType()->getPointerTo(DestAS);
H A DCGDecl.cpp2407 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); local
2408 auto *T = V->getType()->getPointerElementType()->getPointerTo(DestAS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h368 /// Returns true if a cast between SrcAS and DestAS is a noop.
369 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
373 return SrcAS < 256 && DestAS < 256;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h286 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
287 bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
H A DAMDGPULegalizerInfo.cpp1616 unsigned DestAS = DstTy.getAddressSpace();
1627 if (ST.getTargetLowering()->isNoopAddrSpaceCast(SrcAS, DestAS)) {
1632 if (DestAS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) {
1654 assert(DestAS == AMDGPUAS::LOCAL_ADDRESS ||
1655 DestAS == AMDGPUAS::PRIVATE_ADDRESS);
1656 unsigned NullVal = TM.getNullPointerValue(DestAS);
1681 B.buildConstant(DstTy, TM.getNullPointerValue(DestAS));
H A DSIISelLowering.cpp1453 unsigned DestAS) const {
1454 return isFlatGlobalAddrSpace(SrcAS) && isFlatGlobalAddrSpace(DestAS);
1465 unsigned DestAS) const {
1471 return isNoopAddrSpaceCast(SrcAS, DestAS);
5164 unsigned DestAS = ASC->getDestAddressSpace(); local
5166 if (DestAS == AMDGPUAS::LOCAL_ADDRESS ||
5167 DestAS == AMDGPUAS::PRIVATE_ADDRESS) {
5168 unsigned NullVal = TM.getNullPointerValue(DestAS);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1761 /// Returns true if a cast between SrcAS and DestAS is a noop.
1762 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const {
1766 /// Returns true if a cast from SrcAS to DestAS is "cheap", such that e.g. we
1769 virtual bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const {
1770 return isNoopAddrSpaceCast(SrcAS, DestAS);
H A DSelectionDAG.h1341 unsigned DestAS);
H A DSelectionDAGNodes.h1268 unsigned SrcAS, unsigned DestAS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp907 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); local
912 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h523 /// Returns true if a cast between SrcAS and DestAS is a noop.
524 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h458 /// Returns true if a cast between SrcAS and DestAS is a noop.
459 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1045 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1352 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
H A DX86ISelLowering.cpp2535 unsigned DestAS) const {
2536 assert(SrcAS != DestAS && "Expected different address spaces!");
2539 if (TM.getPointerSize(SrcAS) != TM.getPointerSize(DestAS))
2542 return SrcAS < 256 && DestAS < 256;
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1914 unsigned SrcAS, unsigned DestAS) {
1919 ID.AddInteger(DestAS);
1926 VT, SrcAS, DestAS);
9116 unsigned DestAS)
9118 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {}
H A DSelectionDAGBuilder.cpp3420 unsigned DestAS = I.getType()->getPointerAddressSpace(); local
3422 if (!TLI.isNoopAddrSpaceCast(SrcAS, DestAS))
3423 N = DAG.getAddrSpaceCast(getCurSDLoc(), DestVT, N, SrcAS, DestAS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4291 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); local
4292 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2856 LangAS DestAS = DestRecordType.getAddressSpace(); local
2857 if (FromAS != DestAS) {
2861 Context.getAddrSpaceQualType(FromRecordTypeWithoutAS, DestAS);
7005 LangAS DestAS = DestTy->getPointeeType().getAddressSpace(); local
7006 if (SrcAS != DestAS)
H A DSemaOverload.cpp5433 LangAS DestAS =
5435 if (FromRecordType.getAddressSpace() != DestAS)
11523 /*TakingCandidateAddress=*/false, DestAS);

Completed in 524 milliseconds