/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Overload.h | 1021 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 D | CGDeclCXX.cpp | 123 auto DestAS = local 126 CGM.getContext().getTargetAddressSpace(DestAS)); 128 if (DestAS == SrcAS)
|
H A D | CGAtomic.cpp | 1021 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); 1023 auto *DestType = T->getPointerElementType()->getPointerTo(DestAS);
|
H A D | CGDecl.cpp | 2407 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 D | MipsISelLowering.h | 368 /// 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 D | SIISelLowering.h | 286 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override; 287 bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
H A D | AMDGPULegalizerInfo.cpp | 1616 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 D | SIISelLowering.cpp | 1453 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 D | TargetLowering.h | 1761 /// 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 D | SelectionDAG.h | 1341 unsigned DestAS);
|
H A D | SelectionDAGNodes.h | 1268 unsigned SrcAS, unsigned DestAS);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 907 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); local 912 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 523 /// 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 D | AArch64ISelLowering.h | 458 /// 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 D | PPCISelLowering.h | 1045 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 1352 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
H A D | X86ISelLowering.cpp | 2535 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 D | SelectionDAG.cpp | 1914 unsigned SrcAS, unsigned DestAS) { 1919 ID.AddInteger(DestAS); 1926 VT, SrcAS, DestAS); 9116 unsigned DestAS) 9118 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {}
|
H A D | SelectionDAGBuilder.cpp | 3420 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 D | CodeGenPrepare.cpp | 4291 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); local 4292 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS))
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 2856 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 D | SemaOverload.cpp | 5433 LangAS DestAS = 5435 if (FromRecordType.getAddressSpace() != DestAS) 11523 /*TakingCandidateAddress=*/false, DestAS);
|