Home
last modified time | relevance | path

Searched refs:Tmp (Results 1 – 25 of 193) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPSInt.cpp26 APInt Tmp(NumBits, Str, /*radix=*/10); in APSInt() local
28 unsigned MinBits = Tmp.getSignificantBits(); in APSInt()
30 Tmp = Tmp.trunc(std::max<unsigned>(1, MinBits)); in APSInt()
31 *this = APSInt(Tmp, /*isUnsigned=*/false); in APSInt()
34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt()
36 Tmp = Tmp.trunc(std::max<unsigned>(1, ActiveBits)); in APSInt()
37 *this = APSInt(Tmp, /*isUnsigned=*/true); in APSInt()
H A DError.cpp199 std::string Tmp = toString(unwrap(Err)); in LLVMGetErrorMessage() local
200 char *ErrMsg = new char[Tmp.size() + 1]; in LLVMGetErrorMessage()
201 memcpy(ErrMsg, Tmp.data(), Tmp.size()); in LLVMGetErrorMessage()
202 ErrMsg[Tmp.size()] = '\0'; in LLVMGetErrorMessage()
H A DManagedStatic.cpp34 void *Tmp = Creator(); in RegisterManagedStatic() local
36 Ptr.store(Tmp, std::memory_order_release); in RegisterManagedStatic()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dunique_function_test.cpp73 unique_function<long()> Tmp; in TEST() local
77 Tmp = std::move(C1); in TEST()
78 EXPECT_EQ(Tmp(), 1); in TEST()
82 Tmp = std::move(C2); in TEST()
83 EXPECT_EQ(Tmp(), 3); in TEST()
87 Tmp = std::move(C3); in TEST()
88 EXPECT_EQ(Tmp(), 6); in TEST()
92 Tmp = std::move(C4); in TEST()
93 EXPECT_EQ(Tmp(), 10); in TEST()
97 Tmp = std::move(C5); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCopyPhysRegs.cpp78 Register Tmp = MRI->createVirtualRegister(&SystemZ::GR32BitRegClass); in visitMBB() local
80 BuildMI(MBB, MI, DL, TII->get(SystemZ::IPM), Tmp); in visitMBB()
82 BuildMI(MBB, MI, DL, TII->get(SystemZ::EAR), Tmp).addReg(SrcReg); in visitMBB()
83 MI->getOperand(1).setReg(Tmp); in visitMBB()
88 Register Tmp = MRI->createVirtualRegister(&SystemZ::GR32BitRegClass); in visitMBB() local
89 MI->getOperand(0).setReg(Tmp); in visitMBB()
91 BuildMI(MBB, MBBI, DL, TII->get(SystemZ::SAR), DstReg).addReg(Tmp); in visitMBB()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp82 SmallVector<User *> Tmp(G.users()); in checkIfSupported() local
85 auto U = std::move(Tmp.back()); in checkIfSupported()
86 Tmp.pop_back(); in checkIfSupported()
94 Tmp.insert(Tmp.end(), U->user_begin(), U->user_end()); in checkIfSupported()
95 } while (!I && !Tmp.empty()); in checkIfSupported()
200 SmallVector<const Function *> Tmp({CGN.first}); in run() local
202 auto F = std::move(Tmp.back()); in run()
203 Tmp.pop_back(); in run()
218 Tmp.push_back(N.second->getFunction()); in run()
220 } while (!std::empty(Tmp)); in run()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h105 auto Tmp = std::move(*I); in erase() local
109 if (KE < Tmp.first.second) { in erase()
111 J, std::make_pair(std::make_pair(KE, Tmp.first.second), Tmp.second)); in erase()
116 if (KS > Tmp.first.first) in erase()
118 J, std::make_pair(std::make_pair(Tmp.first.first, KS), Tmp.second)); in erase()
140 auto Tmp = J++; in insert() local
141 this->Impl.erase(Tmp); in insert()
H A Dwrapper_function_utils.h45 orc_rt_WrapperFunctionResult Tmp; variable
46 orc_rt_WrapperFunctionResultInit(&Tmp);
47 std::swap(Tmp, Other.R);
48 std::swap(R, Tmp);
57 orc_rt_WrapperFunctionResult Tmp; in release() local
58 orc_rt_WrapperFunctionResultInit(&Tmp); in release()
59 std::swap(R, Tmp); in release()
60 return Tmp; in release()
H A Dstring_pool.h148 auto Tmp = I++;
149 if (Tmp->second == 0)
150 Pool.erase(Tmp);
H A Dsimple_packed_serialization.h160 SPSTagT Tmp = Value; in serialize() local
162 swapByteOrder(Tmp); in serialize()
163 return OB.write(reinterpret_cast<const char *>(&Tmp), sizeof(Tmp)); in serialize()
167 SPSTagT Tmp; in deserialize() local
168 if (!IB.read(reinterpret_cast<char *>(&Tmp), sizeof(Tmp))) in deserialize()
171 swapByteOrder(Tmp); in deserialize()
172 Value = Tmp; in deserialize()
/freebsd/contrib/llvm-project/compiler-rt/include/orc_rt/
H A Dc_api.h107 char *Tmp = (char *)malloc(Size); in orc_rt_CreateWrapperFunctionResultFromRange() local
108 memcpy(Tmp, Data, Size); in orc_rt_CreateWrapperFunctionResultFromRange()
109 R.Data.ValuePtr = Tmp; in orc_rt_CreateWrapperFunctionResultFromRange()
139 char *Tmp = (char *)malloc(strlen(ErrMsg) + 1); in orc_rt_CreateWrapperFunctionResultFromOutOfBandError() local
140 strcpy(Tmp, ErrMsg); in orc_rt_CreateWrapperFunctionResultFromOutOfBandError()
141 R.Data.ValuePtr = Tmp; in orc_rt_CreateWrapperFunctionResultFromOutOfBandError()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DSubtargetFeature.cpp29 SmallVector<StringRef, 3> Tmp; in Split() local
30 S.split(Tmp, ',', -1, false /* KeepEmpty */); in Split()
31 V.reserve(Tmp.size()); in Split()
32 for (StringRef T : Tmp) in Split()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DManagedStatic.h89 void *Tmp = Ptr.load(std::memory_order_acquire);
90 if (!Tmp)
99 void *Tmp = Ptr.load(std::memory_order_acquire);
100 if (!Tmp)
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h88 for (auto &Tmp : AllocaTmps) in ~Evaluator()
92 if (!Tmp->use_empty()) in ~Evaluator()
93 Tmp->replaceAllUsesWith(Constant::getNullValue(Tmp->getType())); in ~Evaluator()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h198 JITSymbolFlags Tmp = LHS; variable
199 Tmp &= RHS;
200 return Tmp;
205 JITSymbolFlags Tmp = LHS; variable
206 Tmp |= RHS;
207 return Tmp;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerBrUnless.cpp190 Register Tmp = MRI.createVirtualRegister(&WebAssembly::I32RegClass); in runOnMachineFunction() local
191 BuildMI(MBB, &MI, MI.getDebugLoc(), TII.get(WebAssembly::EQZ_I32), Tmp) in runOnMachineFunction()
193 MFI.stackifyVReg(MRI, Tmp); in runOnMachineFunction()
194 Cond = Tmp; in runOnMachineFunction()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp136 char *Tmp = new char[FileName.size() + 1]; in DirName() local
137 memcpy(Tmp, FileName.c_str(), FileName.size() + 1); in DirName()
138 std::string Res = dirname(Tmp); in DirName()
139 delete [] Tmp; in DirName()
H A DFuzzerIOWindows.cpp379 std::string Tmp; in TmpDir() local
380 Tmp.resize(MAX_PATH + 1); in TmpDir()
381 DWORD Size = GetTempPathA(Tmp.size(), &Tmp[0]); in TmpDir()
386 Tmp.resize(Size); in TmpDir()
387 return Tmp; in TmpDir()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcondition_variable.h34 u32 Tmp = V + 1; in waitImpl() local
35 V = Tmp; in waitImpl()
H A Dquarantine.h258 CacheT Tmp; in recycle() local
259 Tmp.init(); in recycle()
277 Cache.mergeBatches(&Tmp); in recycle()
282 Tmp.enqueueBatch(Cache.dequeueBatch()); in recycle()
285 doRecycle(&Tmp, Cb); in recycle()
H A Dmemtag.h174 uptr LineSize, Next, Tmp; in storeTags() local
230 [Tmp] "=&r"(Tmp) in storeTags()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistry.cpp208 CheckerInfoSet Tmp; in initializeRegistry() local
224 Tmp.insert_range(Deps); in initializeRegistry()
227 Tmp.insert(&Checker); in initializeRegistry()
234 return Tmp.contains(Checker); in initializeRegistry()
373 int Tmp; in insertAndValidate() local
374 bool HasFailed = SuppliedValue.getAsInteger(0, Tmp); in insertAndValidate()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DConsumed.h174 ConsumedState getState(const CXXBindTemporaryExpr *Tmp) const;
198 void setState(const CXXBindTemporaryExpr *Tmp, ConsumedState State);
201 void remove(const CXXBindTemporaryExpr *Tmp);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp125 bool Tmp; in getBody() local
126 return getBody(Tmp); in getBody()
130 bool Tmp; in isBodyAutosynthesized() local
131 getBody(Tmp); in isBodyAutosynthesized()
132 return Tmp; in isBodyAutosynthesized()
136 bool Tmp; in isBodyAutosynthesizedFromModelFile() local
137 Stmt *Body = getBody(Tmp); in isBodyAutosynthesizedFromModelFile()
138 return Tmp && Body->getBeginLoc().isValid(); in isBodyAutosynthesizedFromModelFile()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DThreadSafeModule.cpp33 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToContext() local
46 BCWriter.writeModule(*Tmp); in cloneToContext()

12345678