/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 70 CCValAssign Ret; in getReg() local 71 Ret.ValNo = ValNo; in getReg() 72 Ret.Loc = RegNo; in getReg() 73 Ret.isMem = false; in getReg() 74 Ret.isCustom = false; in getReg() 75 Ret.HTP = HTP; in getReg() 76 Ret.ValVT = ValVT; in getReg() 77 Ret.LocVT = LocVT; in getReg() 78 return Ret; in getReg() 84 CCValAssign Ret; in getCustomReg() local [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 80 CCValAssign Ret; in getReg() local 81 Ret.ValNo = ValNo; in getReg() 82 Ret.Loc = RegNo; in getReg() 83 Ret.isMem = false; in getReg() 84 Ret.isCustom = false; in getReg() 85 Ret.HTP = HTP; in getReg() 86 Ret.ValVT = ValVT; in getReg() 87 Ret.LocVT = LocVT; in getReg() 88 return Ret; in getReg() 94 CCValAssign Ret; in getCustomReg() local [all …]
|
/external/clang/test/CodeGenCXX/ |
D | mangle-ms-template-callback.cpp | 6 template<typename Ret> 7 class C<Ret(void)> {}; 10 template<typename Ret, typename Arg1> 11 class C<Ret(Arg1)> {}; 13 template<typename Ret, typename Arg1, typename Arg2> 14 class C<Ret(Arg1, Arg2)> {}; 45 template<typename Ret> class C<Ret(*)(void)> {}; 50 template<typename Ret> class C<Ret(^)(void)> {};
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 92 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 98 ReturnInst *Ret, BasicBlock *&OldEntry, 185 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { in runOnFunction() local 186 bool Change = ProcessReturningBlock(Ret, OldEntry, TailCallsAreMarkedTail, in runOnFunction() 188 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runOnFunction() 189 Change = FoldReturnAndProcessPred(BB, Ret, OldEntry, in runOnFunction() 410 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall() argument 433 for (++BBI; &*BBI != Ret; ++BBI) { in EliminateRecursiveTailCall() 454 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in EliminateRecursiveTailCall() 455 !isa<UndefValue>(Ret->getReturnValue()) && in EliminateRecursiveTailCall() [all …]
|
D | SimplifyCFGPass.cpp | 220 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in MergeEmptyReturnBlocks() local 221 if (Ret == 0) continue; in MergeEmptyReturnBlocks() 225 if (Ret != &BB.front()) { in MergeEmptyReturnBlocks() 227 BasicBlock::iterator I = Ret; in MergeEmptyReturnBlocks() 234 Ret->getNumOperands() == 0 || in MergeEmptyReturnBlocks() 235 Ret->getOperand(0) != I)) in MergeEmptyReturnBlocks() 251 if (Ret->getNumOperands() == 0 || in MergeEmptyReturnBlocks() 252 Ret->getOperand(0) == in MergeEmptyReturnBlocks() 264 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in MergeEmptyReturnBlocks() 276 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in MergeEmptyReturnBlocks()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetMachine.cpp | 51 std::string Ret = ""; in computeDataLayout() local 54 Ret += "E"; in computeDataLayout() 57 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 62 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout() 65 Ret += "-i64:64"; in computeDataLayout() 68 Ret += "-f128:64"; in computeDataLayout() 72 Ret += "-v128:64"; in computeDataLayout() 75 Ret += "-a:8:16"; in computeDataLayout() 78 Ret += "-n32:64"; in computeDataLayout() 80 return Ret; in computeDataLayout()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetMachine.cpp | 66 std::string Ret = "e"; in computeDataLayout() local 68 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 73 Ret += "-p:32:32"; in computeDataLayout() 77 Ret += "-i64:64"; in computeDataLayout() 79 Ret += "-i64:32-f64:32"; in computeDataLayout() 81 Ret += "-f64:32:64"; in computeDataLayout() 87 Ret += "-f80:128"; in computeDataLayout() 89 Ret += "-f80:32"; in computeDataLayout() 92 Ret += "-f128:32"; in computeDataLayout() 96 Ret += "-n8:16:32:64"; in computeDataLayout() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 66 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() local 67 if (!Ret) continue; in mergeEmptyReturnBlocks() 71 if (Ret != &BB.front()) { in mergeEmptyReturnBlocks() 73 BasicBlock::iterator I(Ret); in mergeEmptyReturnBlocks() 79 (!isa<PHINode>(I) || I != BB.begin() || Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks() 80 Ret->getOperand(0) != &*I)) in mergeEmptyReturnBlocks() 96 if (Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks() 97 Ret->getOperand(0) == in mergeEmptyReturnBlocks() 109 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks() 121 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
|
D | TailRecursionElimination.cpp | 495 static bool eliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in eliminateRecursiveTailCall() argument 518 for (++BBI; &*BBI != Ret; ++BBI) { in eliminateRecursiveTailCall() 539 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in eliminateRecursiveTailCall() 540 !isa<UndefValue>(Ret->getReturnValue()) && in eliminateRecursiveTailCall() 546 if (!isDynamicConstant(Ret->getReturnValue(), CI, Ret)) in eliminateRecursiveTailCall() 550 AccumulatorRecursionEliminationInitVal = getCommonReturnValue(Ret, CI); in eliminateRecursiveTailCall() 555 BasicBlock *BB = Ret->getParent(); in eliminateRecursiveTailCall() 650 AccPN->addIncoming(Ret->getReturnValue(), BB); in eliminateRecursiveTailCall() 664 BranchInst *NewBI = BranchInst::Create(OldEntry, Ret); in eliminateRecursiveTailCall() 667 BB->getInstList().erase(Ret); // Remove return. in eliminateRecursiveTailCall() [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 44 Value *Ret = Builder.CreateRet(Div); in TEST() local 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 74 Value *Ret = Builder.CreateRet(Div); in TEST() local 79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 104 Value *Ret = Builder.CreateRet(Rem); in TEST() local 109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 134 Value *Ret = Builder.CreateRet(Rem); in TEST() local 139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 165 Value *Ret = Builder.CreateRet(Div); in TEST() local 170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() [all …]
|
/external/llvm/lib/Object/ |
D | Object.cpp | 73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local 74 return wrap(Ret); in LLVMCreateObjectFile() 186 Expected<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local 187 if (!Ret) { in LLVMGetSymbolName() 190 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolName() 194 return Ret->data(); in LLVMGetSymbolName() 198 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local 199 if (!Ret) { in LLVMGetSymbolAddress() 202 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolAddress() 206 return *Ret; in LLVMGetSymbolAddress()
|
D | Archive.cpp | 46 uint32_t Ret; in getSize() local 47 if (llvm::StringRef(Size, sizeof(Size)).rtrim(" ").getAsInteger(10, Ret)) in getSize() 49 return Ret; in getSize() 53 unsigned Ret; in getAccessMode() local 54 if (StringRef(AccessMode, sizeof(AccessMode)).rtrim(' ').getAsInteger(8, Ret)) in getAccessMode() 56 return static_cast<sys::fs::perms>(Ret); in getAccessMode() 65 sys::TimeValue Ret; in getLastModified() local 66 Ret.fromEpochTime(Seconds); in getLastModified() 67 return Ret; in getLastModified() 71 unsigned Ret; in getUID() local [all …]
|
D | SymbolSize.cpp | 48 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() local 55 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes() 56 return Ret; in computeSymbolSizes() 93 Ret.resize(SymNum); in computeSymbolSizes() 97 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes() 99 return Ret; in computeSymbolSizes()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.cpp | 32 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local 33 Ret += "-m:e"; in computeDataLayout() 37 Ret += "-p:32:32"; in computeDataLayout() 40 Ret += "-i64:64"; in computeDataLayout() 45 Ret += "-n32:64"; in computeDataLayout() 47 Ret += "-f128:64-n32"; in computeDataLayout() 50 Ret += "-S128"; in computeDataLayout() 52 Ret += "-S64"; in computeDataLayout() 54 return Ret; in computeDataLayout()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetMachine.cpp | 128 std::string Ret = ""; in computeDataLayout() local 132 Ret += "e"; in computeDataLayout() 135 Ret += "E"; in computeDataLayout() 137 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 140 Ret += "-p:32:32"; in computeDataLayout() 144 Ret += "-i64:64"; in computeDataLayout() 149 Ret += "-f64:32:64"; in computeDataLayout() 154 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout() 156 Ret += "-v128:64:128"; in computeDataLayout() 160 Ret += "-a:0:32"; in computeDataLayout() [all …]
|
/external/llvm/test/CodeGen/NVPTX/ |
D | TailDuplication-convergent.ll | 13 br i1 %cond2, label %Ret, label %L1 14 Ret: 24 br label %Ret 33 br i1 %cond2, label %Ret, label %L1 34 Ret: 44 br label %Ret
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | TestUtil.h | 314 ElemType Ret[N]; \ 316 Ret[i] = (LhsPtr[i] Op RhsPtr[i]) ? -1 : 0; \ 318 return *reinterpret_cast<Dqword *>(&Ret); \ 344 ElemType Ret[N]; \ 346 Ret[i] = (!(LhsPtr[i] == LhsPtr[i]) || !(RhsPtr[i] == RhsPtr[i])) != \ 351 return *reinterpret_cast<Dqword *>(&Ret); \ 376 ElemType Ret[N]; \ 378 Ret[i] = LhsPtr[i] Op RhsPtr[(RhsIndexChanges) ? i : 0]; \ 380 return *reinterpret_cast<Dqword *>(&Ret); \ 399 Container Ret[N]; \ [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.not_fn/ |
D | not_fn.pass.cpp | 29 template <class Ret = bool> 37 Ret operator()(Args&&...) { return Ret{value}; } in operator ()() 40 Ret value; 43 template <class Ret = bool> 52 Ret operator()(Args&&...) { return Ret{value}; } in operator ()() 55 Ret value; 59 template <class Ret = bool> 68 Ret operator()(Args&&...) const { return Ret{value}; } in operator ()() 71 Ret value; 76 template <class Ret = bool> [all …]
|
/external/llvm/tools/llvm-c-test/ |
D | module.c | 38 LLVMBool Ret; in llvm_load_module() local 43 Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_load_module() 45 Ret = LLVMParseBitcode2(MB, &M); in llvm_load_module() 48 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in llvm_load_module() 50 Ret = LLVMParseBitcode(MB, &M, &msg); in llvm_load_module() 53 if (Ret) { in llvm_load_module()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 51 std::string Ret = ""; in computeDataLayout() local 56 Ret += "e"; in computeDataLayout() 58 Ret += "E"; in computeDataLayout() 60 Ret += "-m:m"; in computeDataLayout() 64 Ret += "-p:32:32"; in computeDataLayout() 68 Ret += "-i8:8:32-i16:16:32-i64:64"; in computeDataLayout() 74 Ret += "-n32:64-S128"; in computeDataLayout() 76 Ret += "-n32-S64"; in computeDataLayout() 78 return Ret; in computeDataLayout()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.cpp | 88 std::string Ret; in getDataLayoutString() local 92 Ret = "e"; in getDataLayoutString() 94 Ret = "E"; in getDataLayoutString() 96 Ret += DataLayout::getManglingComponent(T); in getDataLayoutString() 101 Ret += "-p:32:32"; in getDataLayoutString() 106 Ret += "-i64:64"; in getDataLayoutString() 108 Ret += "-f64:32:64"; in getDataLayoutString() 112 Ret += "-n32:64"; in getDataLayoutString() 114 Ret += "-n32"; in getDataLayoutString() 116 return Ret; in getDataLayoutString()
|
/external/libcxx/test/std/thread/futures/futures.async/ |
D | async.pass.cpp | 79 template <class Ret, class CheckLamdba, class ...Args> 85 std::future<Ret> f = std::async(std::forward<Args>(args)...); in test() 138 using Ret = std::unique_ptr<int>; in main() typedef 139 auto checkUPtr = [](std::future<Ret>& f) { return *f.get() == 3; }; in main() 140 test<Ret>(checkUPtr, DPID, f3, 3); in main() 141 test<Ret>(checkUPtr, DPID, f4, std::unique_ptr<int>(new int(3))); in main()
|
/external/libcxx/test/std/utilities/meta/meta.rel/ |
D | is_nothrow_invocable.pass.cpp | 35 template <bool IsNoexcept, class Ret, class ...Args> 37 Ret operator()(Args&&...) const noexcept(IsNoexcept); 46 template <class Ret, class Fn, class ...Args> 48 return std::is_invocable_r<Ret, Fn, Args...>::value && in throws_invocable_r() 49 !std::is_nothrow_invocable_r<Ret, Fn, Args...>::value; in throws_invocable_r()
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | TestUtil.h | 426 ElemType Ret[N]; \ 428 Ret[i] = (LhsPtr[i] Op RhsPtr[i]) ? -1 : 0; \ 430 return *reinterpret_cast<Dqword *>(&Ret); \ 456 ElemType Ret[N]; \ 458 Ret[i] = (!(LhsPtr[i] == LhsPtr[i]) || !(RhsPtr[i] == RhsPtr[i])) != \ 463 return *reinterpret_cast<Dqword *>(&Ret); \ 488 ElemType Ret[N]; \ 490 Ret[i] = LhsPtr[i] Op RhsPtr[(RhsIndexChanges) ? i : 0]; \ 492 return *reinterpret_cast<Dqword *>(&Ret); \ 511 Container Ret[N]; \ [all …]
|
/external/clang/test/SemaTemplate/ |
D | instantiate-init.cpp | 18 template<typename Ret, typename T, typename U> 19 Ret f1(Ret *retty, T t, U u) { in f1() 20 Ret r0(t, u); // expected-error{{no matching}} in f1() 21 return Ret(t, u); // expected-error{{no matching}} in f1()
|