Home
last modified time | relevance | path

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

12345678910>>...12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVETargetMachine.cpp33 std::string Ret = "e"; in computeDataLayout() local
36 Ret += "-m:e"; in computeDataLayout()
39 Ret += "-i64:64"; in computeDataLayout()
42 Ret += "-n32:64"; in computeDataLayout()
45 Ret += "-S128"; in computeDataLayout()
50 Ret += "-v64:64:64"; // for v2f32 in computeDataLayout()
51 Ret += "-v128:64:64"; in computeDataLayout()
52 Ret += "-v256:64:64"; in computeDataLayout()
53 Ret += "-v512:64:64"; in computeDataLayout()
54 Ret += "-v1024:64:64"; in computeDataLayout()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h82 CCValAssign Ret; in getReg() local
83 Ret.ValNo = ValNo; in getReg()
84 Ret.Loc = RegNo; in getReg()
85 Ret.isMem = false; in getReg()
86 Ret.isCustom = false; in getReg()
87 Ret.HTP = HTP; in getReg()
88 Ret.ValVT = ValVT; in getReg()
89 Ret.LocVT = LocVT; in getReg()
90 return Ret; in getReg()
96 CCValAssign Ret; in getCustomReg() local
[all …]
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()
72 SmallPtrSet<MachineBasicBlock *, 4> Ret; in getUnwindSrcs() local
74 Ret.insert(P.get<MachineBasicBlock *>()); in getUnwindSrcs()
75 return Ret; in getUnwindSrcs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp464 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local
465 Ret.MI = &MIParam; in createCRLogicalOpInfo()
468 Ret.IsNullary = 1; in createCRLogicalOpInfo()
469 Ret.TrueDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
470 Ret.CopyDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
473 Ret.SubregDef1, Ret.CopyDefs.first); in createCRLogicalOpInfo()
475 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
477 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
478 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo()
480 Ret.IsBinary = 1; in createCRLogicalOpInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DOptParserEmitter.cpp167 MarshallingInfo Ret(R); in createMarshallingInfo() local
169 Ret.ShouldAlwaysEmit = R.getValueAsBit("ShouldAlwaysEmit"); in createMarshallingInfo()
170 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo()
171 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo()
172 Ret.DefaultValue = R.getValueAsString("DefaultValue"); in createMarshallingInfo()
173 Ret.NormalizedValuesScope = R.getValueAsString("NormalizedValuesScope"); in createMarshallingInfo()
174 Ret.ImpliedCheck = R.getValueAsString("ImpliedCheck"); in createMarshallingInfo()
175 Ret.ImpliedValue = in createMarshallingInfo()
176 R.getValueAsOptionalString("ImpliedValue").getValueOr(Ret.DefaultValue); in createMarshallingInfo()
178 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp39 std::string Ret = ""; in computeDataLayout() local
41 Ret += "E"; in computeDataLayout()
44 Ret += "-m:e"; in computeDataLayout()
47 Ret += "-p:32:32"; in computeDataLayout()
50 Ret += "-i8:8:8-i16:16:16-i32:16:32"; in computeDataLayout()
55 Ret += "-n8:16:32"; in computeDataLayout()
57 Ret += "-a:0:16-S16"; in computeDataLayout()
59 return Ret; in computeDataLayout()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp68 std::string Ret; in computeDataLayout() local
71 Ret += "E"; in computeDataLayout()
74 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
79 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
82 Ret += "-i64:64"; in computeDataLayout()
85 Ret += "-f128:64"; in computeDataLayout()
89 Ret += "-v128:64"; in computeDataLayout()
92 Ret += "-a:8:16"; in computeDataLayout()
95 Ret += "-n32:64"; in computeDataLayout()
97 return Ret; in computeDataLayout()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp130 size_t Ret = 0; in getSize() local
133 Ret += *(TTI.getInstructionCost( in getSize()
135 return Ret; in getSize()
145 unsigned Ret = 0; in getMaxDominatorTreeDepth() local
148 Ret = std::max(Ret, TN->getLevel()); in getMaxDominatorTreeDepth()
149 return Ret; in getMaxDominatorTreeDepth()
250 float Ret = *ER->getTensorValue<float>(0); in run() local
251 if (Ret < 0.0) in run()
252 Ret = 0.0; in run()
253 return static_cast<size_t>(Ret); in run()
H A DVFABIDemangling.cpp130 ParseRet Ret; in tryParseLinearWithRuntimeStep() local
133 Ret = tryParseLinearTokenWithRuntimeStep(ParseString, PKind, StepOrPos, "ls"); in tryParseLinearWithRuntimeStep()
134 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
135 return Ret; in tryParseLinearWithRuntimeStep()
138 Ret = tryParseLinearTokenWithRuntimeStep(ParseString, PKind, StepOrPos, "Rs"); in tryParseLinearWithRuntimeStep()
139 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
140 return Ret; in tryParseLinearWithRuntimeStep()
143 Ret = tryParseLinearTokenWithRuntimeStep(ParseString, PKind, StepOrPos, "Ls"); in tryParseLinearWithRuntimeStep()
144 if (Ret != ParseRet::None) in tryParseLinearWithRuntimeStep()
145 return Ret; in tryParseLinearWithRuntimeStep()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp84 llvm::SmallString<32> Ret = StringRef("file://"); in fileNameToURI() local
90 Ret += Root.drop_front(2).str(); in fileNameToURI()
93 Ret += Twine("/" + Root).str(); in fileNameToURI()
100 std::for_each(++Iter, End, [&Ret](StringRef Component) { in fileNameToURI()
109 Ret += "/"; in fileNameToURI()
113 Ret += percentEncodeURICharacter(C); in fileNameToURI()
117 return std::string(Ret); in fileNameToURI()
172 unsigned int Ret = 1; in adjustColumnPos() local
175 Ret++; in adjustColumnPos()
178 return Ret; in adjustColumnPos()
[all …]
H A DAnalyzerOptions.cpp154 auto Ret = llvm::StringSwitch<llvm::Optional<bool>>( in getCheckerBooleanOption() local
161 assert(Ret && in getCheckerBooleanOption()
165 return *Ret; in getCheckerBooleanOption()
178 int Ret = 0; in getCheckerIntegerOption() local
181 .getAsInteger(0, Ret); in getCheckerIntegerOption()
186 return Ret; in getCheckerIntegerOption()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetMachine.cpp139 std::string Ret; in computeDataLayout() local
143 Ret += "e"; in computeDataLayout()
146 Ret += "E"; in computeDataLayout()
148 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
151 Ret += "-p:32:32"; in computeDataLayout()
155 Ret += "-Fi8"; in computeDataLayout()
159 Ret += "-i64:64"; in computeDataLayout()
164 Ret += "-f64:32:64"; in computeDataLayout()
169 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout()
171 Ret += "-v128:64:128"; in computeDataLayout()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetMachine.cpp109 std::string Ret = "e"; in computeDataLayout() local
111 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
116 Ret += "-p:32:32"; in computeDataLayout()
119 Ret += "-p270:32:32-p271:32:32-p272:64:64"; in computeDataLayout()
123 Ret += "-i64:64"; in computeDataLayout()
125 Ret += "-i64:32-f64:32"; in computeDataLayout()
127 Ret += "-f64:32:64"; in computeDataLayout()
133 Ret += "-f80:128"; in computeDataLayout()
135 Ret += "-f80:32"; in computeDataLayout()
138 Ret += "-f128:32"; in computeDataLayout()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp32 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DSymbolSize.cpp47 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() local
54 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
55 return Ret; in computeSymbolSizes()
79 return Ret; in computeSymbolSizes()
99 Ret.resize(SymNum); in computeSymbolSizes()
103 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes()
105 return Ret; in computeSymbolSizes()
H A DObject.cpp189 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local
190 return wrap(Ret); in LLVMCreateObjectFile()
302 Expected<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local
303 if (!Ret) { in LLVMGetSymbolName()
306 logAllUnhandledErrors(Ret.takeError(), OS); in LLVMGetSymbolName()
310 return Ret->data(); in LLVMGetSymbolName()
314 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local
315 if (!Ret) { in LLVMGetSymbolAddress()
318 logAllUnhandledErrors(Ret.takeError(), OS); in LLVMGetSymbolAddress()
322 return *Ret; in LLVMGetSymbolAddress()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp66 std::string Ret; in computeDataLayout() local
71 Ret += "e"; in computeDataLayout()
73 Ret += "E"; in computeDataLayout()
76 Ret += "-m:m"; in computeDataLayout()
78 Ret += "-m:e"; in computeDataLayout()
82 Ret += "-p:32:32"; in computeDataLayout()
86 Ret += "-i8:8:32-i16:16:32-i64:64"; in computeDataLayout()
92 Ret += "-n32:64-S128"; in computeDataLayout()
94 Ret += "-n32-S64"; in computeDataLayout()
96 return Ret; in computeDataLayout()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DRandomNumberGenerator.cpp71 std::error_code Ret; in getRandomBytes()
74 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
76 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
78 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
80 return Ret; in getRandomBytes()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DJSONNodeDumper.cpp285 llvm::json::Object Ret{{"qualType", QualType::getAsString(SQT, PrintPolicy)}}; in createQualType() local
290 Ret["desugaredQualType"] = QualType::getAsString(DSQT, PrintPolicy); in createQualType()
292 Ret["typeAliasDeclId"] = createPointerRepresentation(TT->getDecl()); in createQualType()
294 return Ret; in createQualType()
310 llvm::json::Object Ret{{"id", createPointerRepresentation(D)}}; in createBareDeclRef() local
312 return Ret; in createBareDeclRef()
314 Ret["kind"] = (llvm::Twine(D->getDeclKindName()) + "Decl").str(); in createBareDeclRef()
316 Ret["name"] = ND->getDeclName().getAsString(); in createBareDeclRef()
318 Ret["type"] = createQualType(VD->getType()); in createBareDeclRef()
319 return Ret; in createBareDeclRef()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp51 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHash() local
52 Ret ^= updateHash(BB.getName()); in getCallStackHash()
53 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
55 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
56 Ret ^= updateHash(DIL->getScope()->getSubprogram()->getLinkageName()); in getCallStackHash()
58 return Ret; in getCallStackHash()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp49 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() local
51 return std::string(Ret); in getFileName()
55 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() local
57 return std::string(Ret); in getObjectFileName()
61 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() local
63 return std::string(Ret); in getVirtualFileName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp210 int Ret = INT_MAX; in getIncludePriority() local
213 Ret = Style.IncludeCategories[i].Priority; in getIncludePriority()
216 if (CheckMainHeader && IsMainFile && Ret > 0 && isMainHeader(IncludeName)) in getIncludePriority()
217 Ret = 0; in getIncludePriority()
218 return Ret; in getIncludePriority()
223 int Ret = INT_MAX; in getSortIncludePriority() local
226 Ret = Style.IncludeCategories[i].SortPriority; in getSortIncludePriority()
227 if (Ret == 0) in getSortIncludePriority()
228 Ret = Style.IncludeCategories[i].Priority; in getSortIncludePriority()
231 if (CheckMainHeader && IsMainFile && Ret > 0 && isMainHeader(IncludeName)) in getSortIncludePriority()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DTargetID.cpp22 llvm::SmallVector<llvm::StringRef, 4> Ret; in getAllPossibleAMDGPUTargetIDFeatures() local
26 return Ret; in getAllPossibleAMDGPUTargetIDFeatures()
30 Ret.push_back("sramecc"); in getAllPossibleAMDGPUTargetIDFeatures()
32 Ret.push_back("xnack"); in getAllPossibleAMDGPUTargetIDFeatures()
33 return Ret; in getAllPossibleAMDGPUTargetIDFeatures()
39 llvm::SmallVector<llvm::StringRef, 4> Ret; in getAllPossibleTargetIDFeatures() local
42 return Ret; in getAllPossibleTargetIDFeatures()

12345678910>>...12