| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VETargetMachine.cpp | 33 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() 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() 55 Ret += "-v2048:64:64"; in computeDataLayout() [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/linux/ |
| H A D | Support.cpp | 20 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 …]
|
| /llvm-project-15.0.7/libc/test/src/string/ |
| H A D | memmove_test.cpp | 22 void *const Ret = __llvm_libc::memmove(Dst, Buffer + 2, 0); in TEST() local 23 EXPECT_EQ(Ret, Dst); in TEST() 31 void *const Ret = __llvm_libc::memmove(Dst, Buffer, 1); in TEST() local 32 EXPECT_EQ(Ret, Dst); in TEST() 42 void *const Ret = __llvm_libc::memmove(Dst, Buffer + 2, 2); in TEST() local 43 EXPECT_EQ(Ret, Dst); in TEST() 52 EXPECT_EQ(Ret, Dst); in TEST() 65 EXPECT_EQ(Ret, Dst); in TEST() 74 EXPECT_EQ(Ret, Dst); in TEST() 107 void *const Ret = in TEST() local [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | mangle-ms-template-callback.cpp | 6 template<typename Ret> 7 class C<Ret(void)> {}; 10 template<typename Ret, typename Arg1> 11 class C<Ret(Arg1)> {}; 13 template<typename Ret, typename Arg1, typename Arg2> 14 class C<Ret(Arg1, Arg2)> {}; 45 template<typename Ret> class C<Ret(*)(void)> {}; 50 template<typename Ret> class C<Ret(^)(void)> {};
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | callable_types.h | 21 template <class Ret = bool> 29 constexpr Ret operator()(Args&&...) { return Ret{value}; } in operator() 32 Ret value; 35 template <class Ret = bool> 44 constexpr Ret operator()(Args&&...) { return Ret{value}; } in operator() 47 Ret value; 60 constexpr Ret operator()(Args&&...) const { return Ret{value}; } in operator() 63 Ret value; 74 constexpr Ret operator()(Args&&...) noexcept { return Ret{value}; } in operator() 77 constexpr Ret operator()(Args&&...) const noexcept { return Ret{value}; } in operator() [all …]
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | RecursiveASTVisitorTest.cpp | 76 bool Ret = RecursiveASTVisitor::TraverseFunctionDecl(D); in TraverseFunctionDecl() local 79 return Ret; in TraverseFunctionDecl() 84 bool Ret = RecursiveASTVisitor::TraverseAttr(A); in TraverseAttr() local 87 return Ret; in TraverseAttr() 92 bool Ret = RecursiveASTVisitor::TraverseEnumDecl(D); in TraverseEnumDecl() local 95 return Ret; in TraverseEnumDecl() 100 bool Ret = RecursiveASTVisitor::TraverseTypedefTypeLoc(TL); in TraverseTypedefTypeLoc() local 103 return Ret; in TraverseTypedefTypeLoc() 111 return Ret; in TraverseObjCInterfaceDecl() 119 return Ret; in TraverseObjCProtocolDecl() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 80 CCValAssign Ret; in getReg() local 82 Ret.Loc = RegNo; in getReg() 85 Ret.HTP = HTP; in getReg() 88 return Ret; in getReg() 94 CCValAssign Ret; in getCustomReg() local 97 return Ret; in getCustomReg() 103 CCValAssign Ret; in getMem() local 108 Ret.HTP = HTP; in getMem() 111 return Ret; in getMem() 117 CCValAssign Ret; in getCustomMem() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Sarif.cpp | 78 Ret += Root.drop_front(2).str(); in fileNameToURI() 81 Ret += Twine("/" + Root).str(); in fileNameToURI() 97 Ret += "/"; 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 return Ret; in createLocation() 306 Ret["locations"] = std::move(Locs); in createThreadFlows() 352 size_t Ret = CurrentRules.size(); in createRule() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 464 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local 465 Ret.MI = &MIParam; in createCRLogicalOpInfo() 468 Ret.IsNullary = 1; in createCRLogicalOpInfo() 475 Ret.DefsSingleUse &= in createCRLogicalOpInfo() 480 Ret.IsBinary = 1; in createCRLogicalOpInfo() 505 Ret.FeedsBR = 1; in createCRLogicalOpInfo() 513 if (!Ret.IsNullary) { in createCRLogicalOpInfo() 516 if (Ret.IsBinary) in createCRLogicalOpInfo() 521 if (Ret.IsBinary && Ret.ContainedInBlock && Ret.SingleUse) { in createCRLogicalOpInfo() 523 if (Ret.FeedsBR && Ret.DefsSingleUse) in createCRLogicalOpInfo() [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | OptParserEmitter.cpp | 166 MarshallingInfo Ret(R); in createMarshallingInfo() local 169 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo() 170 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo() 174 Ret.ImpliedValue = in createMarshallingInfo() 177 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo() 178 Ret.Normalizer = R.getValueAsString("Normalizer"); in createMarshallingInfo() 180 Ret.ValueMerger = R.getValueAsString("ValueMerger"); in createMarshallingInfo() 188 Ret.Values.reserve(Ret.NormalizedValues.size()); in createMarshallingInfo() 201 Ret.Values.push_back(ValuesStr); in createMarshallingInfo() 203 assert(Ret.Values.size() == Ret.NormalizedValues.size() && in createMarshallingInfo() [all …]
|
| /llvm-project-15.0.7/polly/tools/GPURuntime/ |
| H A D | GPUJIT.c | 357 cl_int Ret; in initContextCL() local 391 Ret = in initContextCL() 442 cl_int Ret; in freeKernelCL() local 449 cl_int Ret = in freeKernelCL() local 455 cl_int Ret = in freeKernelCL() local 507 cl_int Ret; in getKernelCL() local 565 cl_int Ret; in copyFromHostToDeviceCL() local 582 cl_int Ret; in copyFromDeviceToHostCL() local 596 cl_int Ret; in launchKernelCL() local 660 cl_int Ret; in allocateMemoryForDeviceCL() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | DLangDemangle.cpp | 71 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 …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | omptarget.cpp | 681 int Ret; in targetDataEnd() local 845 if (Ret != OFFLOAD_SUCCESS) in targetDataEnd() 908 return Ret; in targetDataEnd() 980 return Ret; in targetDataContiguous() 994 int Ret = OFFLOAD_SUCCESS; in targetDataNonContiguous() local 1008 return Ret; in targetDataNonContiguous() 1019 return Ret; in targetDataNonContiguous() 1064 int Ret = OFFLOAD_SUCCESS; in targetDataUpdate() local 1079 if (Ret == OFFLOAD_FAIL) in targetDataUpdate() 1334 if (Ret != OFFLOAD_SUCCESS) { in processDataBefore() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | RegAllocScore.cpp | 64 double Ret = 0.0; in getScore() local 65 Ret += CopyWeight * copyCounts(); in getScore() 66 Ret += LoadWeight * loadCounts(); in getScore() 67 Ret += StoreWeight * storeCounts(); in getScore() 68 Ret += (LoadWeight + StoreWeight) * loadStoreCounts(); in getScore() 69 Ret += CheapRematWeight * cheapRematCounts(); in getScore() 70 Ret += ExpensiveRematWeight * expensiveRematCounts(); in getScore() 72 return Ret; in getScore()
|
| H A D | MLRegallocEvictAdvisor.cpp | 217 Ret *= V; in getTotalSize() 218 return Ret; in getTotalSize() 493 float Ret = 0.0; in getInitialQueueSize() local 498 ++Ret; in getInitialQueueSize() 500 return Ret; in getInitialQueueSize() 526 return Ret; in tryFindEvictionCandidatePosition() 702 return Ret; in getLIFeatureComponents() 724 Ret.HottestBlockFreq = std::max(Freq, Ret.HottestBlockFreq); in getLIFeatureComponents() 742 return Ret; in getLIFeatureComponents() 868 return Ret; in tryFindEvictionCandidatePosition() [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/SystemZ/ |
| H A D | cmp-mem.ll | 9 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %Ret = zext i1 %Cmp to i32 10 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: ret i32 %Ret 13 %Ret = zext i1 %Cmp to i32 14 ret i32 %Ret 21 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %Ret = zext i1 %Cmp to i32 22 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: ret i32 %Ret 25 %Ret = zext i1 %Cmp to i32 26 ret i32 %Ret
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | instrprof-set-dir-mode.c | 17 int Ret = 0; in test() local 27 Ret = -1; in test() 36 Ret = -1; in test() 41 Ret = -1; in test() 46 return Ret; in test()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kTargetMachine.cpp | 45 std::string Ret = ""; in computeDataLayout() local 47 Ret += "E"; in computeDataLayout() 50 Ret += "-m:e"; in computeDataLayout() 56 Ret += "-p:32:16:32"; in computeDataLayout() 60 Ret += "-i8:8:8-i16:16:16-i32:16:32"; in computeDataLayout() 65 Ret += "-n8:16:32"; in computeDataLayout() 67 Ret += "-a:0:16-S16"; in computeDataLayout() 69 return Ret; in computeDataLayout()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | IntegerDivisionTest.cpp | 43 Value *Ret = Builder.CreateRet(Div); in TEST() local 48 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 73 Value *Ret = Builder.CreateRet(Div); in TEST() local 78 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 103 Value *Ret = Builder.CreateRet(Rem); in TEST() local 108 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST() 133 Value *Ret = Builder.CreateRet(Rem); in TEST() local 164 Value *Ret = Builder.CreateRet(Div); in TEST() local 194 Value *Ret = Builder.CreateRet(Div); in TEST() local 224 Value *Ret = Builder.CreateRet(Rem); in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetMachine.cpp | 76 std::string Ret; in computeDataLayout() local 79 Ret += "E"; in computeDataLayout() 82 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 87 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout() 90 Ret += "-i64:64"; in computeDataLayout() 93 Ret += "-f128:64"; in computeDataLayout() 98 Ret += "-v128:64"; in computeDataLayout() 101 Ret += "-a:8:16"; in computeDataLayout() 104 Ret += "-n32:64"; in computeDataLayout() 106 return Ret; in computeDataLayout()
|
| /llvm-project-15.0.7/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() 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 D | VFABIDemangling.cpp | 128 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 …]
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | ExecutableFileMemoryManager.cpp | 44 uint8_t *Ret; in allocateSection() local 46 Ret = SectionMemoryManager::allocateCodeSection(Size, Alignment, SectionID, in allocateSection() 49 Ret = SectionMemoryManager::allocateDataSection(Size, Alignment, SectionID, in allocateSection() 69 BinarySection::getFlags(IsReadOnly, IsCode, true), Ret, Size, Alignment); in allocateSection() 78 << ", alignment " << Alignment << " at 0x" << Ret in allocateSection() 80 return Ret; in allocateSection()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | BasicBlockTest.cpp | 152 Instruction *Ret = &*I++; in TEST() local 161 EXPECT_TRUE(Add->comesBefore(Ret)); in TEST() 163 EXPECT_TRUE(Add->comesBefore(Ret)); in TEST() 168 EXPECT_FALSE(Ret->comesBefore(Ret)); in TEST() 169 EXPECT_FALSE(Ret->comesBefore(Ret)); in TEST() 202 Ret = Builder.CreateRetVoid(); in SetUp() 212 Instruction *Ret = nullptr; member in llvm::__anonefab3c730111::InstrOrderInvalidationTest 220 EXPECT_TRUE(I3->comesBefore(Ret)); in TEST_F() 231 EXPECT_TRUE(I3->comesBefore(Ret)); in TEST_F() 238 EXPECT_TRUE(I3->comesBefore(Ret)); in TEST_F() [all …]
|