Home
last modified time | relevance | path

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

12345678910>>...12

/openbsd/gnu/llvm/llvm/lib/Target/VE/
H A DVETargetMachine.cpp38 std::string Ret = "e"; in computeDataLayout() local
41 Ret += "-m:e"; in computeDataLayout()
44 Ret += "-i64:64"; in computeDataLayout()
47 Ret += "-n32:64"; in computeDataLayout()
50 Ret += "-S128"; in computeDataLayout()
56 Ret += "-v128:64:64"; in computeDataLayout()
57 Ret += "-v256:64:64"; in computeDataLayout()
58 Ret += "-v512:64:64"; in computeDataLayout()
59 Ret += "-v1024:64:64"; in computeDataLayout()
60 Ret += "-v2048:64:64"; in computeDataLayout()
[all …]
/openbsd/gnu/llvm/lldb/source/Host/linux/
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()
30 auto Ret = llvm::MemoryBuffer::getFileAsStream(File); in getProcFile() local
31 if (!Ret) in getProcFile()
32 LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message()); in getProcFile()
33 return Ret; in getProcFile()
40 auto Ret = llvm::MemoryBuffer::getFileAsStream(File); in getProcFile() local
41 if (!Ret) in getProcFile()
[all …]
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSarif.cpp79 Ret += Root.drop_front(2).str(); in fileNameToURI()
82 Ret += Twine("/" + Root).str(); in fileNameToURI()
98 Ret += "/"; in fileNameToURI()
106 return std::string(Ret); in fileNameToURI()
132 unsigned int Ret = 1; in adjustColumnPos() local
135 Ret++; in adjustColumnPos()
138 return Ret; in adjustColumnPos()
172 return Ret; in createLocation()
378 size_t Ret = CurrentRules.size(); in createRule() local
380 return Ret; in createRule()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp465 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local
466 Ret.MI = &MIParam; in createCRLogicalOpInfo()
469 Ret.IsNullary = 1; in createCRLogicalOpInfo()
476 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
481 Ret.IsBinary = 1; in createCRLogicalOpInfo()
506 Ret.FeedsBR = 1; in createCRLogicalOpInfo()
514 if (!Ret.IsNullary) { in createCRLogicalOpInfo()
517 if (Ret.IsBinary) in createCRLogicalOpInfo()
522 if (Ret.IsBinary && Ret.ContainedInBlock && Ret.SingleUse) { in createCRLogicalOpInfo()
524 if (Ret.FeedsBR && Ret.DefsSingleUse) in createCRLogicalOpInfo()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DOptParserEmitter.cpp167 MarshallingInfo Ret(R); in createMarshallingInfo() local
170 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo()
171 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo()
175 Ret.ImpliedValue = in createMarshallingInfo()
178 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo()
179 Ret.Normalizer = R.getValueAsString("Normalizer"); in createMarshallingInfo()
181 Ret.ValueMerger = R.getValueAsString("ValueMerger"); in createMarshallingInfo()
189 Ret.Values.reserve(Ret.NormalizedValues.size()); in createMarshallingInfo()
202 Ret.Values.push_back(ValuesStr); in createMarshallingInfo()
204 assert(Ret.Values.size() == Ret.NormalizedValues.size() && in createMarshallingInfo()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DSTLFunctionalExtras.h38 template<typename Ret, typename ...Params>
39 class function_ref<Ret(Params...)> {
40 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
44 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn()
60 std::enable_if_t<std::is_void<Ret>::value ||
63 Ret>::value> * = nullptr)
67 Ret operator()(Params ...params) const { in operator()
/openbsd/gnu/llvm/llvm/lib/Demangle/
H A DDLangDemangle.cpp71 const char *decodeNumber(const char *Mangled, unsigned long &Ret);
84 const char *decodeBackrefPos(const char *Mangled, long &Ret);
94 const char *decodeBackref(const char *Mangled, const char *&Ret);
203 Ret = Val; in decodeNumber()
235 Ret = Val; in decodeBackrefPos()
248 Ret = nullptr; in decodeBackref()
263 Ret = Qpos - RefPos; in decodeBackref()
326 long Ret; in isSymbolName() local
337 Mangled = decodeBackrefPos(Mangled + 1, Ret); in isSymbolName()
338 if (Mangled == nullptr || Ret > Qref - Str) in isSymbolName()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
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()
H A DRegAllocPriorityAdvisor.cpp73 Pass *Ret = nullptr; in callDefaultCtor() local
76 Ret = new DefaultPriorityAdvisorAnalysis(/*NotAsRequested*/ false); in callDefaultCtor()
80 Ret = createDevelopmentModePriorityAdvisor(); in callDefaultCtor()
85 Ret = createReleaseModePriorityAdvisor(); in callDefaultCtor()
89 if (Ret) in callDefaultCtor()
90 return Ret; in callDefaultCtor()
H A DMLRegallocEvictAdvisor.cpp239 Ret *= V; in getTotalSize()
240 return Ret; in getTotalSize()
542 float Ret = 0.0; in getInitialQueueSize() local
547 ++Ret; in getInitialQueueSize()
549 return Ret; in getInitialQueueSize()
575 return Ret; in tryFindEvictionCandidatePosition()
780 return Ret; in getLIFeatureComponents()
802 Ret.HottestBlockFreq = std::max(Freq, Ret.HottestBlockFreq); in getLIFeatureComponents()
820 return Ret; in getLIFeatureComponents()
1089 return Ret; in tryFindEvictionCandidatePosition()
[all …]
H A DMIRFSDiscriminator.cpp55 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHash() local
56 Ret ^= updateHash(BB.getName()); in getCallStackHash()
57 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
59 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
60 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
62 return Ret; in getCallStackHash()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp48 std::string Ret; in computeDataLayout() local
51 Ret += "E"; in computeDataLayout()
54 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
59 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
62 Ret += "-i64:64"; in computeDataLayout()
65 Ret += "-f128:64"; in computeDataLayout()
69 Ret += "-v128:64"; in computeDataLayout()
72 Ret += "-a:8:16"; in computeDataLayout()
75 Ret += "-n32:64"; in computeDataLayout()
77 return Ret; in computeDataLayout()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp129 size_t Ret = 0; in getSize() local
132 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.cpp128 ParseRet Ret; in tryParseLinearWithRuntimeStep() local
131 Ret = tryParseLinearTokenWithRuntimeStep(ParseString, PKind, StepOrPos, "ls"); in tryParseLinearWithRuntimeStep()
132 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
133 return Ret; in tryParseLinearWithRuntimeStep()
136 Ret = tryParseLinearTokenWithRuntimeStep(ParseString, PKind, StepOrPos, "Rs"); in tryParseLinearWithRuntimeStep()
137 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
138 return Ret; in tryParseLinearWithRuntimeStep()
142 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
143 return Ret; in tryParseLinearWithRuntimeStep()
147 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ReturnThunks.cpp84 for (MachineInstr *Ret : Rets) { in runOnMachineFunction()
86 BuildMI(Ret->getParent(), Ret->getDebugLoc(), CS); in runOnMachineFunction()
87 BuildMI(Ret->getParent(), Ret->getDebugLoc(), JMP) in runOnMachineFunction()
89 Ret->eraseFromParent(); in runOnMachineFunction()
H A DX86TargetMachine.cpp123 std::string Ret = "e"; in computeDataLayout() local
128 Ret += "-p:32:32"; in computeDataLayout()
135 Ret += "-i64:64"; in computeDataLayout()
139 Ret += "-f64:32:64"; in computeDataLayout()
145 Ret += "-f80:128"; in computeDataLayout()
147 Ret += "-f80:32"; in computeDataLayout()
150 Ret += "-f128:32"; in computeDataLayout()
156 Ret += "-n8:16:32"; in computeDataLayout()
160 Ret += "-a:0:32-S32"; in computeDataLayout()
162 Ret += "-S128"; in computeDataLayout()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp48 std::string Ret = ""; in computeDataLayout() local
50 Ret += "E"; in computeDataLayout()
53 Ret += "-m:e"; in computeDataLayout()
59 Ret += "-p:32:16:32"; in computeDataLayout()
63 Ret += "-i8:8:8-i16:16:16-i32:16:32"; in computeDataLayout()
68 Ret += "-n8:16:32"; in computeDataLayout()
70 Ret += "-a:0:16-S16"; in computeDataLayout()
72 return Ret; in computeDataLayout()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DWasmEHFuncInfo.h46 SmallPtrSet<const BasicBlock *, 4> Ret; in getUnwindSrcs() local
48 Ret.insert(P.get<const BasicBlock *>()); in getUnwindSrcs()
49 return Ret; in getUnwindSrcs()
70 SmallPtrSet<MachineBasicBlock *, 4> Ret; in getUnwindSrcs() local
72 Ret.insert(P.get<MachineBasicBlock *>()); in getUnwindSrcs()
73 return Ret; in getUnwindSrcs()
/openbsd/gnu/llvm/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()
83 return Ret; in computeSymbolSizes()
103 Ret.resize(SymNum); in computeSymbolSizes()
107 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes()
109 return Ret; in computeSymbolSizes()
/openbsd/gnu/llvm/llvm/tools/llvm-c-test/
H A Dmodule.c37 LLVMBool Ret; in llvm_load_module() local
42 Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_load_module()
44 Ret = LLVMParseBitcode2(MB, &M); in llvm_load_module()
47 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in llvm_load_module()
49 Ret = LLVMParseBitcode(MB, &M, &msg); in llvm_load_module()
52 if (Ret) { in llvm_load_module()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp146 std::string Ret; in computeDataLayout() local
150 Ret += "e"; in computeDataLayout()
153 Ret += "E"; in computeDataLayout()
158 Ret += "-p:32:32"; in computeDataLayout()
162 Ret += "-Fi8"; in computeDataLayout()
182 Ret += "-a:0:32"; in computeDataLayout()
185 Ret += "-n32"; in computeDataLayout()
190 Ret += "-S128"; in computeDataLayout()
192 Ret += "-S64"; in computeDataLayout()
194 Ret += "-S32"; in computeDataLayout()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp41 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local
42 Ret += "-m:e"; in computeDataLayout()
46 Ret += "-p:32:32"; in computeDataLayout()
49 Ret += "-i64:64"; in computeDataLayout()
54 Ret += "-n32:64"; in computeDataLayout()
56 Ret += "-f128:64-n32"; in computeDataLayout()
59 Ret += "-S128"; in computeDataLayout()
61 Ret += "-S64"; in computeDataLayout()
63 return Ret; in computeDataLayout()
/openbsd/gnu/llvm/llvm/tools/bugpoint/
H A DMiscompilation.cpp204 if (*Ret) in doTest()
211 if (*Ret) in doTest()
466 if (*Ret) in doTest()
473 if (*Ret) in doTest()
528 return Ret; in TestFuncs()
558 if (Error E = Ret.takeError()) in ExtractBlocks()
560 if (*Ret) { in ExtractBlocks()
563 Expected<bool> Ret = in ExtractBlocks() local
566 if (Error E = Ret.takeError()) in ExtractBlocks()
651 if (*Ret) { in DebugAMiscompilation()
[all …]
/openbsd/gnu/llvm/llvm/lib/Support/
H A DRandomNumberGenerator.cpp81 std::error_code Ret; in getRandomBytes()
84 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
86 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
88 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
90 return Ret; in getRandomBytes()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp51 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() local
53 return std::string(Ret); in getFileName()
57 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() local
59 return std::string(Ret); in getObjectFileName()
63 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() local
65 return std::string(Ret); in getVirtualFileName()

12345678910>>...12