| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VETargetMachine.cpp | 38 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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 465 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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | OptParserEmitter.cpp | 149 MarshallingInfo Ret(R); in createMarshallingInfo() local 152 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo() 153 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo() 157 Ret.ImpliedValue = in createMarshallingInfo() 160 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo() 161 Ret.Normalizer = R.getValueAsString("Normalizer"); in createMarshallingInfo() 163 Ret.ValueMerger = R.getValueAsString("ValueMerger"); in createMarshallingInfo() 171 Ret.Values.reserve(Ret.NormalizedValues.size()); in createMarshallingInfo() 184 Ret.Values.push_back(ValuesStr); in createMarshallingInfo() 186 assert(Ret.Values.size() == Ret.NormalizedValues.size() && in createMarshallingInfo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRFSDiscriminator.cpp | 68 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHashV0() local 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; in getCallStackHashV0() 83 uint64_t Ret = 0; in getCallStackHash() local 85 Ret = hashCombine(Ret, xxh3_64bits(ArrayRef<uint8_t>(DIL->getLine()))); in getCallStackHash() 86 Ret = hashCombine(Ret, xxh3_64bits(DIL->getSubprogramLinkageName())); in getCallStackHash() 88 return Ret; in getCallStackHash()
|
| H A D | RegAllocScore.cpp | 61 double Ret = 0.0; in getScore() local 62 Ret += CopyWeight * copyCounts(); in getScore() 63 Ret += LoadWeight * loadCounts(); in getScore() 64 Ret += StoreWeight * storeCounts(); in getScore() 65 Ret += (LoadWeight + StoreWeight) * loadStoreCounts(); in getScore() 66 Ret += CheapRematWeight * cheapRematCounts(); in getScore() 67 Ret += ExpensiveRematWeight * expensiveRematCounts(); in getScore() 69 return Ret; in getScore()
|
| H A D | RegAllocPriorityAdvisor.cpp | 73 Pass *Ret = nullptr; in callDefaultCtor() local 76 Ret = new DefaultPriorityAdvisorAnalysis(/*NotAsRequested*/ false); in callDefaultCtor() 80 Ret = createDevelopmentModePriorityAdvisor(); in callDefaultCtor() 84 Ret = createReleaseModePriorityAdvisor(); in callDefaultCtor() 87 if (Ret) in callDefaultCtor() 88 return Ret; in callDefaultCtor()
|
| H A D | MLRegAllocEvictAdvisor.cpp | 251 Ret *= V; in getTotalSize() 252 return Ret; in getTotalSize() 559 float Ret = 0.0; in getInitialQueueSize() local 564 ++Ret; in getInitialQueueSize() 566 return Ret; in getInitialQueueSize() 593 return Ret; in tryFindEvictionCandidatePosition() 798 return Ret; in getLIFeatureComponents() 820 Ret.HottestBlockFreq = std::max(Freq, Ret.HottestBlockFreq); in getLIFeatureComponents() 838 return Ret; in getLIFeatureComponents() 1107 return Ret; in tryFindEvictionCandidatePosition() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Sarif.cpp | 79 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() 381 size_t Ret = CurrentRules.size(); in createRule() local 383 return Ret; in createRule() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | STLFunctionalExtras.h | 38 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 51 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() 89 return Ret; in computeSymbolSizes() 114 Ret.resize(SymNum); in computeSymbolSizes() 118 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes() 120 return Ret; in computeSymbolSizes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | DLangDemangle.cpp | 68 void decodeNumber(std::string_view &Mangled, unsigned long &Ret); 81 bool decodeBackrefPos(std::string_view &Mangled, long &Ret); 201 Ret = Val; in decodeNumber() 233 Ret = Val; in decodeBackrefPos() 247 std::string_view &Ret) { in decodeBackref() argument 250 Ret = {}; in decodeBackref() 268 Ret = Qpos - RefPos; in decodeBackref() 340 long Ret; in isSymbolName() local 352 bool Valid = decodeBackrefPos(Mangled, Ret); in isSymbolName() 353 if (!Valid || Ret > Qref - Str.data()) in isSymbolName() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | RISCV.cpp | 408 ParsedTargetAttr Ret; in parseTargetAttr() local 410 return Ret; in parseTargetAttr() 421 Ret.Features.clear(); in parseTargetAttr() 423 Ret.Duplicate = "arch="; in parseTargetAttr() 447 if (!Ret.CPU.empty()) in parseTargetAttr() 448 Ret.Duplicate = "cpu="; in parseTargetAttr() 450 Ret.CPU = AttrString; in parseTargetAttr() 456 Ret.Features.clear(); in parseTargetAttr() 461 if (!Ret.Tune.empty()) in parseTargetAttr() 464 Ret.Tune = AttrString; in parseTargetAttr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineSizeEstimatorAnalysis.cpp | 129 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ReturnThunks.cpp | 84 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 D | X86TargetMachine.cpp | 124 std::string Ret = "e"; in computeDataLayout() local 129 Ret += "-p:32:32"; in computeDataLayout() 140 Ret += "-i64:32-f64:32"; in computeDataLayout() 148 Ret += "-f80:128"; in computeDataLayout() 150 Ret += "-f80:32"; in computeDataLayout() 153 Ret += "-f128:32"; in computeDataLayout() 157 Ret += "-n8:16:32:64"; in computeDataLayout() 159 Ret += "-n8:16:32"; in computeDataLayout() 163 Ret += "-a:0:32-S32"; in computeDataLayout() 165 Ret += "-S128"; in computeDataLayout() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetMachine.cpp | 48 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kTargetMachine.cpp | 50 std::string Ret = ""; in computeDataLayout() local 52 Ret += "E"; in computeDataLayout() 55 Ret += "-m:e"; in computeDataLayout() 61 Ret += "-p:32:16:32"; in computeDataLayout() 65 Ret += "-i8:8:8-i16:16:16-i32:16:32"; in computeDataLayout() 70 Ret += "-n8:16:32"; in computeDataLayout() 72 Ret += "-a:0:16-S16"; in computeDataLayout() 74 return Ret; in computeDataLayout()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | WasmEHFuncInfo.h | 46 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-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcTargetMachine.cpp | 40 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local 41 Ret += "-m:e"; in computeDataLayout() 45 Ret += "-p:32:32"; in computeDataLayout() 48 Ret += "-i64:64"; in computeDataLayout() 53 Ret += "-n32:64"; in computeDataLayout() 55 Ret += "-f128:64-n32"; in computeDataLayout() 58 Ret += "-S128"; in computeDataLayout() 60 Ret += "-S64"; in computeDataLayout() 62 return Ret; in computeDataLayout()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 204 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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetMachine.cpp | 147 std::string Ret; in computeDataLayout() local 151 Ret += "e"; in computeDataLayout() 154 Ret += "E"; in computeDataLayout() 159 Ret += "-p:32:32"; in computeDataLayout() 163 Ret += "-Fi8"; in computeDataLayout() 183 Ret += "-a:0:32"; in computeDataLayout() 186 Ret += "-n32"; in computeDataLayout() 191 Ret += "-S128"; in computeDataLayout() 193 Ret += "-S64"; in computeDataLayout() 195 Ret += "-S32"; in computeDataLayout() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | RandomNumberGenerator.cpp | 81 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumInjectedSources.cpp | 52 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() local 54 return std::string(Ret); in getFileName() 58 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() local 60 return std::string(Ret); in getObjectFileName() 64 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() local 66 return std::string(Ret); in getVirtualFileName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetMachine.cpp | 76 std::string Ret; in computeDataLayout() local 81 Ret += "e"; in computeDataLayout() 83 Ret += "E"; in computeDataLayout() 86 Ret += "-m:m"; in computeDataLayout() 88 Ret += "-m:e"; in computeDataLayout() 92 Ret += "-p:32:32"; in computeDataLayout() 96 Ret += "-i8:8:32-i16:16:32-i64:64"; in computeDataLayout() 102 Ret += "-n32:64-S128"; in computeDataLayout() 104 Ret += "-n32-S64"; in computeDataLayout() 106 return Ret; in computeDataLayout()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | path_parser.h | 271 PosPtr Ret = consumeAllSeparators(P, End); in consumeNSeparators() local 272 if (Ret == nullptr) in consumeNSeparators() 275 if (Ret == P + N) in consumeNSeparators() 276 return Ret; in consumeNSeparators() 278 if (Ret == P - N) in consumeNSeparators() 279 return Ret; in consumeNSeparators() 328 if (PosPtr Ret = consumeDriveLetter(P, End)) in consumeRootName() local 329 return Ret; in consumeRootName() 330 if (PosPtr Ret = consumeNetworkRoot(P, End)) in consumeRootName() local 331 return Ret; in consumeRootName()
|