/freebsd/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() 55 Ret += "-v64:64:64"; // for v2f32 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() [all …]
|
/freebsd/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() 470 Ret.TrueDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo() 471 Ret.CopyDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo() 474 Ret.SubregDef1, Ret.CopyDefs.first); in createCRLogicalOpInfo() 476 Ret.DefsSingleUse &= in createCRLogicalOpInfo() 478 Ret.DefsSingleUse &= in createCRLogicalOpInfo() 479 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo() 481 Ret.IsBinary = 1; in createCRLogicalOpInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MIRFSDiscriminator.cpp | 68 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 D | RegAllocScore.cpp | 61 double Ret = 0.0; in getScore() 62 Ret += CopyWeight * copyCounts(); in getScore() local 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 |
|
H A D | MLRegAllocEvictAdvisor.cpp | 250 size_t Ret = sizeof(T); in getTotalSize() local 252 Ret *= V; in getTotalSize() 253 return Ret; in getTotalSize() 562 float Ret = 0.0; in getInitialQueueSize() local 567 ++Ret; in getInitialQueueSize() 569 return Ret; in getInitialQueueSize() 593 int64_t Ret = Runner->evaluate<int64_t>(); in tryFindEvictionCandidatePosition() local 594 assert(Ret >= 0); in tryFindEvictionCandidatePosition() 595 assert(Ret <= CandidateVirtRegPos); in tryFindEvictionCandidatePosition() 596 return Ret; in tryFindEvictionCandidatePosition() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Sarif.cpp | 72 SmallString<32> Ret = StringRef("file://"); in fileNameToURI() local 78 Ret += Root.drop_front(2).str(); in fileNameToURI() 81 Ret += Twine("/" + Root).str(); in fileNameToURI() 97 Ret += "/"; in fileNameToURI() 101 Ret += percentEncodeURICharacter(C); in fileNameToURI() 105 return std::string(Ret); in fileNameToURI() 131 unsigned int Ret = 1; in adjustColumnPos() local 134 Ret++; in adjustColumnPos() 137 return Ret; in adjustColumnPos() 168 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation() local [all …]
|
/freebsd/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() 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/llvm/utils/TableGen/ |
H A D | OptParserEmitter.cpp | 149 MarshallingInfo Ret(R); in createMarshallingInfo() local 151 Ret.ShouldAlwaysEmit = R.getValueAsBit("ShouldAlwaysEmit"); in createMarshallingInfo() 152 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo() 153 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo() 154 Ret.DefaultValue = R.getValueAsString("DefaultValue"); in createMarshallingInfo() 155 Ret.NormalizedValuesScope = R.getValueAsString("NormalizedValuesScope"); in createMarshallingInfo() 156 Ret.ImpliedCheck = R.getValueAsString("ImpliedCheck"); in createMarshallingInfo() 157 Ret.ImpliedValue = in createMarshallingInfo() 158 R.getValueAsOptionalString("ImpliedValue").value_or(Ret.DefaultValue); in createMarshallingInfo() 160 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo() [all …]
|
/freebsd/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/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); 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/clang/lib/Basic/Targets/ |
H A D | RISCV.cpp | 410 ParsedTargetAttr Ret; in parseTargetAttr() local 412 return Ret; in parseTargetAttr() 423 Ret.Features.clear(); in parseTargetAttr() 425 Ret.Duplicate = "arch="; in parseTargetAttr() 440 Ret.Features.push_back(Ext.front() + TargetFeature); in parseTargetAttr() 442 Ret.Features.push_back(Ext.str()); in parseTargetAttr() 446 handleFullArchString(AttrString, Ret.Features); in parseTargetAttr() 449 if (!Ret.CPU.empty()) in parseTargetAttr() 450 Ret.Duplicate = "cpu="; in parseTargetAttr() 452 Ret.CPU = AttrString; in parseTargetAttr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineSizeEstimatorAnalysis.cpp | 128 size_t Ret = 0; in getSize() local 131 Ret += *(TTI.getInstructionCost( in getSize() 133 return Ret; in getSize() 143 unsigned Ret = 0; in getMaxDominatorTreeDepth() local 146 Ret = std::max(Ret, TN->getLevel()); in getMaxDominatorTreeDepth() 147 return Ret; in getMaxDominatorTreeDepth() 247 float Ret = *ER->getTensorValue<float>(0); in run() local 248 if (Ret < 0.0) in run() 249 Ret = 0.0; in run() 250 return static_cast<size_t>(Ret); in run()
|
H A D | VFABIDemangling.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ReturnThunks.cpp | 85 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/SystemZ/ |
H A D | SystemZTargetMachine.cpp | 54 std::string Ret; in computeDataLayout() local 57 Ret += "E"; in computeDataLayout() 60 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 65 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout() 68 Ret += "-i64:64"; in computeDataLayout() 71 Ret += "-f128:64"; in computeDataLayout() 75 Ret += "-v128:64"; in computeDataLayout() 78 Ret += "-a:8:16"; in computeDataLayout() 81 Ret += "-n32:64"; in computeDataLayout() 83 return Ret; in computeDataLayout()
|
/freebsd/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/contrib/llvm-project/compiler-rt/lib/ctx_profile/ |
H A D | CtxInstrProfiling.cpp | 178 auto *Ret = allocContextNode(AllocPlace, Guid, NrCounters, NrCallsites, in getCallsiteSlow() local 180 *InsertionPoint = Ret; in getCallsiteSlow() 181 return Ret; in getCallsiteSlow() 224 auto *Ret = Callsite ? Callsite in __llvm_ctx_profile_get_context() local 227 if (Ret->callsites_size() != NrCallsites || in __llvm_ctx_profile_get_context() 228 Ret->counters_size() != NrCounters) in __llvm_ctx_profile_get_context() 231 reinterpret_cast<void *>(Ret), Guid, NrCallsites, in __llvm_ctx_profile_get_context() 232 NrCounters, Ret->guid(), Ret->callsites_size(), in __llvm_ctx_profile_get_context() 233 Ret->counters_size()); in __llvm_ctx_profile_get_context() 234 onContextEnter(*Ret); in __llvm_ctx_profile_get_context() [all …]
|
/freebsd/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/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/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | Miscompilation.cpp | 201 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 D | ARMTargetMachine.cpp | 147 std::string Ret; in computeDataLayout() local 151 Ret += "e"; in computeDataLayout() 154 Ret += "E"; in computeDataLayout() 156 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 159 Ret += "-p:32:32"; in computeDataLayout() 163 Ret += "-Fi8"; in computeDataLayout() 167 Ret += "-i64:64"; in computeDataLayout() 172 Ret += "-f64:32:64"; in computeDataLayout() 177 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout() 179 Ret += "-v128:64:128"; in computeDataLayout() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | RandomNumberGenerator.cpp | 83 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()
|
/freebsd/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()
|