HomeSort by: relevance | last modified time | path
    Searched refs:DestAS (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86TargetMachine.h 58 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
X86TargetMachine.cpp 326 unsigned DestAS) const {
327 assert(SrcAS != DestAS && "Expected different address spaces!");
328 if (getPointerSize(SrcAS) != getPointerSize(DestAS))
330 return SrcAS < 256 && DestAS < 256;
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsTargetMachine.h 66 /// Returns true if a cast between SrcAS and DestAS is a noop.
67 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
71 return SrcAS < 256 && DestAS < 256;
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCTargetMachine.h 65 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64TargetMachine.h 60 /// Returns true if a cast between SrcAS and DestAS is a noop.
61 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMTargetMachine.h 76 /// Returns true if a cast between SrcAS and DestAS is a noop.
77 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUTargetMachine.h 61 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
AMDGPUTargetMachine.cpp 663 unsigned DestAS) const {
665 AMDGPU::isFlatGlobalAddrSpace(DestAS);
AMDGPULegalizerInfo.cpp 1801 unsigned DestAS = DstTy.getAddressSpace();
1811 if (TM.isNoopAddrSpaceCast(SrcAS, DestAS)) {
1816 if (DestAS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) {
1838 assert(DestAS == AMDGPUAS::LOCAL_ADDRESS ||
1839 DestAS == AMDGPUAS::PRIVATE_ADDRESS);
1840 unsigned NullVal = TM.getNullPointerValue(DestAS);
1865 B.buildConstant(DstTy, TM.getNullPointerValue(DestAS));
SIISelLowering.h 302 bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
SIISelLowering.cpp 1552 unsigned DestAS) const {
1560 return TM.isNoopAddrSpaceCast(SrcAS, DestAS);
5316 unsigned DestAS = ASC->getDestAddressSpace();
5318 if (DestAS == AMDGPUAS::LOCAL_ADDRESS ||
5319 DestAS == AMDGPUAS::PRIVATE_ADDRESS) {
5320 unsigned NullVal = TM.getNullPointerValue(DestAS);
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Overload.h 1021 LangAS DestAS = LangAS::Default;
1143 LangAS getDestAS() { return DestAS; }
1150 DestAS = AS;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Target/
TargetMachine.h 301 /// Returns true if a cast between SrcAS and DestAS is a noop.
302 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDeclCXX.cpp 122 auto DestAS =
125 CGM.getContext().getTargetAddressSpace(DestAS));
127 if (DestAS == SrcAS)
CGAtomic.cpp 1045 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic);
1047 auto *DestType = T->getPointerElementType()->getPointerTo(DestAS);
CGDecl.cpp 2466 auto DestAS = getContext().getTargetAddressSpace(DestLangAS);
2467 auto *T = V->getType()->getPointerElementType()->getPointerTo(DestAS);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetLoweringBase.cpp 919 unsigned DestAS) const {
920 return TM.isNoopAddrSpaceCast(SrcAS, DestAS);
CodeGenPrepare.cpp 4506 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace();
4507 if (TLI.getTargetMachine().isNoopAddrSpaceCast(SrcAS, DestAS))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 1046 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace();
1052 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
SelectionDAG.h 1336 unsigned DestAS);
SelectionDAGNodes.h 1235 unsigned SrcAS, unsigned DestAS);
TargetLowering.h 1803 /// Returns true if a cast from SrcAS to DestAS is "cheap", such that e.g. we
1806 virtual bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 2064 unsigned SrcAS, unsigned DestAS) {
2069 ID.AddInteger(DestAS);
2076 VT, SrcAS, DestAS);
9618 unsigned DestAS)
9620 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {}
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExpr.cpp 2976 LangAS DestAS = DestRecordType.getAddressSpace();
2977 if (FromAS != DestAS) {
2981 Context.getAddrSpaceQualType(FromRecordTypeWithoutAS, DestAS);
7116 LangAS DestAS = DestTy->getPointeeType().getAddressSpace();
7117 if (SrcAS != DestAS)
SemaOverload.cpp 5500 LangAS DestAS =
5502 if (FromRecordType.getAddressSpace() != DestAS)
11671 /*TakingCandidateAddress=*/false, DestAS);

Completed in 91 milliseconds

1 2