Home
last modified time | relevance | path

Searched refs:Ret (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetMachine.cpp40 std::string Ret = "e"; in computeDataLayout() local
43 Ret += "-m:e"; in computeDataLayout()
46 Ret += "-i64:64"; in computeDataLayout()
49 Ret += "-n32:64"; in computeDataLayout()
52 Ret += "-S128"; in computeDataLayout()
57 Ret += "-v64:64:64"; // for v2f32 in computeDataLayout()
58 Ret += "-v128:64:64"; in computeDataLayout()
59 Ret += "-v256:64:64"; in computeDataLayout()
60 Ret += "-v512:64:64"; in computeDataLayout()
61 Ret += "-v1024:64:64"; in computeDataLayout()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp471 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local
472 Ret.MI = &MIParam; in createCRLogicalOpInfo()
475 Ret.IsNullary = 1; in createCRLogicalOpInfo()
476 Ret.TrueDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
477 Ret.CopyDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
480 Ret.SubregDef1, Ret.CopyDefs.first); in createCRLogicalOpInfo()
481 Ret.SubregDef1 = MIParam.getOperand(1).getSubReg(); in createCRLogicalOpInfo()
483 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
485 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
486 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DSupport.cpp18 auto Ret = llvm::MemoryBuffer::getFileAsStream(File); in getProcFile() local
19 if (!Ret) in getProcFile()
20 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
21 return Ret; in getProcFile()
28 auto Ret = llvm::MemoryBuffer::getFileAsStream(File); in getProcFile() local
29 if (!Ret) in getProcFile()
30 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
31 return Ret; in getProcFile()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp71 SmallString<32> Ret = StringRef("file://"); in fileNameToURI() local
77 Ret += Root.drop_front(2).str(); in fileNameToURI()
80 Ret += Twine("/" + Root).str(); in fileNameToURI()
96 Ret += "/"; in fileNameToURI()
100 Ret += percentEncodeURICharacter(C); in fileNameToURI()
104 return std::string(Ret); in fileNameToURI()
130 unsigned int Ret = 1; in adjustColumnPos() local
133 Ret++; in adjustColumnPos()
136 return Ret; in adjustColumnPos()
167 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp68 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHashV0()
69 Ret ^= updateHash(BB.getName()); in getCallStackHashV0()
70 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0()
72 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHashV0()
73 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHashV0()
75 return Ret;
83 uint64_t Ret = 0; in getCallStackHash()
85 Ret = hashCombine(Ret, xxh3_64bits(ArrayRef<uint8_t>(DIL->getLine()))); in getCallStackHash()
86 Ret in getCallStackHash()
66 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); getCallStackHashV0() local
81 uint64_t Ret = 0; getCallStackHash() local
[all...]
H A DRegAllocScore.cpp62 double Ret = 0.0; in getScore() local
63 Ret += CopyWeight * copyCounts(); in getScore()
64 Ret += LoadWeight * loadCounts(); in getScore()
65 Ret += StoreWeight * storeCounts(); in getScore()
66 Ret += (LoadWeight + StoreWeight) * loadStoreCounts(); in getScore()
67 Ret += CheapRematWeight * cheapRematCounts(); in getScore()
68 Ret += ExpensiveRematWeight * expensiveRematCounts(); in getScore()
70 return Ret; in getScore()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLFunctionalExtras.h39 template <typename Ret, typename... Params>
40 class LLVM_GSL_POINTER function_ref<Ret(Params...)> {
41 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
45 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn()
61 std::enable_if_t<std::is_void<Ret>::value ||
64 Ret>::value> * = nullptr)
68 Ret operator()(Params ...params) const { in operator()
74 bool operator==(const function_ref<Ret(Params...)> &Other) const {
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp51 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() local
58 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
59 return Ret; in computeSymbolSizes()
64 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
65 return Ret; in computeSymbolSizes()
70 Ret.push_back({Sym, E->getSymbolSize(Sym)}); in computeSymbolSizes()
72 return Ret; in computeSymbolSizes()
96 return Ret; in computeSymbolSizes()
121 Ret.resize(SymNum); in computeSymbolSizes()
125 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DLoongArch.cpp420 ParsedTargetAttr Ret; in parseTargetAttr() local
422 return Ret; in parseTargetAttr()
435 Ret.Features.insert(Ret.Features.end(), ArchFeatures.begin(), in parseTargetAttr()
439 if (!Ret.CPU.empty()) in parseTargetAttr()
440 Ret.Duplicate = "arch="; in parseTargetAttr()
442 Ret.CPU = "loongarch64"; in parseTargetAttr()
444 Ret.CPU = Value; in parseTargetAttr()
446 Ret.Features.push_back("!arch=" + Value.str()); in parseTargetAttr()
452 if (!Ret.Tune.empty()) in parseTargetAttr()
453 Ret.Duplicate = "tune="; in parseTargetAttr()
[all …]
H A DRISCV.cpp498 ParsedTargetAttr Ret; in parseTargetAttr() local
500 return Ret; in parseTargetAttr()
529 Ret.Features.clear(); in parseTargetAttr()
531 Ret.Duplicate = "arch="; in parseTargetAttr()
536 handleArchExtension(AttrString, Ret.Features); in parseTargetAttr()
539 handleFullArchString(AttrString, Ret.Features); in parseTargetAttr()
542 if (!Ret.CPU.empty()) in parseTargetAttr()
543 Ret.Duplicate = "cpu="; in parseTargetAttr()
545 Ret.CPU = AttrString; in parseTargetAttr()
549 StringRef MarchFromCPU = llvm::RISCV::getMArchFromMcpu(Ret.CPU); in parseTargetAttr()
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dfunctional.h32 template <typename Ret, typename... Params> class function<Ret(Params...)> {
33 Ret (*callback)(intptr_t callable, Params... params) = nullptr;
37 LIBC_INLINE static Ret callback_fn(intptr_t callable, Params... params) { in callback_fn()
54 enable_if_t<cpp::is_void_v<Ret> ||
56 decltype(declval<Callable>()(declval<Params>()...)), Ret>>
61 LIBC_INLINE Ret operator()(Params... params) const { in operator()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DOptionParserEmitter.cpp160 MarshallingInfo Ret(R); in createMarshallingInfo() local
162 Ret.ShouldAlwaysEmit = R.getValueAsBit("ShouldAlwaysEmit"); in createMarshallingInfo()
163 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo()
164 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo()
165 Ret.DefaultValue = R.getValueAsString("DefaultValue"); in createMarshallingInfo()
166 Ret.NormalizedValuesScope = R.getValueAsString("NormalizedValuesScope"); in createMarshallingInfo()
167 Ret.ImpliedCheck = R.getValueAsString("ImpliedCheck"); in createMarshallingInfo()
168 Ret.ImpliedValue = in createMarshallingInfo()
169 R.getValueAsOptionalString("ImpliedValue").value_or(Ret.DefaultValue); in createMarshallingInfo()
171 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DDLangDemangle.cpp68 void decodeNumber(std::string_view &Mangled, unsigned long &Ret);
81 bool decodeBackrefPos(std::string_view &Mangled, long &Ret);
91 bool decodeBackref(std::string_view &Mangled, std::string_view &Ret);
169 void Demangler::decodeNumber(std::string_view &Mangled, unsigned long &Ret) { in decodeNumber() argument
201 Ret = Val; in decodeNumber()
204 bool Demangler::decodeBackrefPos(std::string_view &Mangled, long &Ret) { in decodeBackrefPos() argument
233 Ret = Val; in decodeBackrefPos()
247 std::string_view &Ret) { in decodeBackref() argument
250 Ret = {}; in decodeBackref()
268 Ret = Qpos - RefPos; in decodeBackref()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp58 std::string Ret; in computeDataLayout() local
61 Ret += "E"; in computeDataLayout()
64 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
70 Ret += "-p1:32:32"; in computeDataLayout()
77 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
80 Ret += "-i64:64"; in computeDataLayout()
83 Ret += "-f128:64"; in computeDataLayout()
87 Ret += "-v128:64"; in computeDataLayout()
90 Ret += "-a:8:16"; in computeDataLayout()
93 Ret += "-n32:64"; in computeDataLayout()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp128 size_t Ret = 0; in getSize() local
131 Ret += TTI.getInstructionCost( in getSize()
134 return Ret; in getSize()
144 unsigned Ret = 0; in getMaxDominatorTreeDepth() local
147 Ret = std::max(Ret, TN->getLevel()); in getMaxDominatorTreeDepth()
148 return Ret; in getMaxDominatorTreeDepth()
248 float Ret = *ER->getTensorValue<float>(0); in run() local
249 if (Ret < 0.0) in run()
250 Ret = 0.0; in run()
251 return static_cast<size_t>(Ret); in run()
H A DVFABIDemangling.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ReturnThunks.cpp85 for (MachineInstr *Ret : Rets) { in runOnMachineFunction()
87 BuildMI(Ret->getParent(), Ret->getDebugLoc(), CS); in runOnMachineFunction()
88 BuildMI(Ret->getParent(), Ret->getDebugLoc(), JMP) in runOnMachineFunction()
90 Ret->eraseFromParent(); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp51 std::string Ret = ""; in computeDataLayout() local
53 Ret += "E"; in computeDataLayout()
56 Ret += "-m:e"; in computeDataLayout()
62 Ret += "-p:32:16:32"; in computeDataLayout()
66 Ret += "-i8:8:8-i16:16:16-i32:16:32"; in computeDataLayout()
71 Ret += "-n8:16:32"; in computeDataLayout()
73 Ret += "-a:0:16-S16"; in computeDataLayout()
75 return Ret; in computeDataLayout()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp43 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local
44 Ret += "-m:e"; in computeDataLayout()
48 Ret += "-p:32:32"; in computeDataLayout()
51 Ret += "-i64:64"; in computeDataLayout()
55 Ret += "-i128:128"; in computeDataLayout()
60 Ret += "-n32:64"; in computeDataLayout()
62 Ret += "-f128:64-n32"; in computeDataLayout()
65 Ret += "-S128"; in computeDataLayout()
67 Ret += "-S64"; in computeDataLayout()
69 return Ret; in computeDataLayout()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DWasmEHFuncInfo.h46 SmallPtrSet<const BasicBlock *, 4> Ret; in getUnwindSrcs() local
48 Ret.insert(cast<const BasicBlock *>(P)); in getUnwindSrcs()
49 return Ret; in getUnwindSrcs()
70 SmallPtrSet<MachineBasicBlock *, 4> Ret; in getUnwindSrcs() local
72 Ret.insert(cast<MachineBasicBlock *>(P)); in getUnwindSrcs()
73 return Ret; in getUnwindSrcs()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp201 Expected<bool> Ret = TestFuncs(Suffix); in doTest() local
202 if (Error E = Ret.takeError()) in doTest()
204 if (*Ret) in doTest()
208 Expected<bool> Ret = TestFuncs(Prefix); in doTest() local
209 if (Error E = Ret.takeError()) in doTest()
211 if (*Ret) in doTest()
463 Expected<bool> Ret = TestFuncs(Suffix); in doTest() local
464 if (Error E = Ret.takeError()) in doTest()
466 if (*Ret) in doTest()
470 Expected<bool> Ret = TestFuncs(Prefix); in doTest() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp128 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 += "-Fi8"; in computeDataLayout()
148 Ret += "-i64:64"; in computeDataLayout()
153 Ret += "-f64:32:64"; in computeDataLayout()
158 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout()
160 Ret += "-v128:64:128"; in computeDataLayout()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/aix/
H A DSupport.cpp20 auto Ret = llvm::MemoryBuffer::getFileAsStream(File); in getProcFile() local
21 if (!Ret) in getProcFile()
22 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
23 return Ret; in getProcFile()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDemangledNameInfo.cpp161 const Node *Ret = N.getReturnType(); in printLeftImpl() local
162 if (Ret) { in printLeftImpl()
163 printLeft(*Ret); in printLeftImpl()
164 if (!Ret->hasRHSComponent(*this)) in printLeftImpl()
183 const Node *Ret = N.getReturnType(); in printRightImpl() local
185 if (Ret) in printRightImpl()
186 printRight(*Ret); in printRightImpl()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DRandomNumberGenerator.cpp83 std::error_code Ret; in getRandomBytes()
86 Ret = errnoAsErrorCode(); in getRandomBytes()
88 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
90 Ret = errnoAsErrorCode(); in getRandomBytes()
92 return Ret; in getRandomBytes()

12345678910>>...14