Home
last modified time | relevance | path

Searched refs:Tmp (Results 1 – 25 of 177) 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.cpp186 std::string Tmp = toString(unwrap(Err)); in LLVMGetErrorMessage() local
187 char *ErrMsg = new char[Tmp.size() + 1]; in LLVMGetErrorMessage()
188 memcpy(ErrMsg, Tmp.data(), Tmp.size()); in LLVMGetErrorMessage()
189 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/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp83 SmallVector<User *> Tmp(G.user_begin(), G.user_end()); in checkIfSupported() local
86 auto U = std::move(Tmp.back()); in checkIfSupported()
87 Tmp.pop_back(); in checkIfSupported()
95 Tmp.insert(Tmp.end(), U->user_begin(), U->user_end()); in checkIfSupported()
98 } while (!I && !Tmp.empty()); in checkIfSupported()
203 SmallVector<const Function *> Tmp({CGN.first}); in run() local
205 auto F = std::move(Tmp.back()); in run()
206 Tmp.pop_back(); in run()
221 Tmp.push_back(N.second->getFunction()); in run()
223 } while (!std::empty(Tmp)); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCopyPhysRegs.cpp82 Register Tmp = MRI->createVirtualRegister(&SystemZ::GR32BitRegClass); in visitMBB() local
84 BuildMI(MBB, MI, DL, TII->get(SystemZ::IPM), Tmp); in visitMBB()
86 BuildMI(MBB, MI, DL, TII->get(SystemZ::EAR), Tmp).addReg(SrcReg); in visitMBB()
87 MI->getOperand(1).setReg(Tmp); in visitMBB()
92 Register Tmp = MRI->createVirtualRegister(&SystemZ::GR32BitRegClass); in visitMBB() local
93 MI->getOperand(0).setReg(Tmp); in visitMBB()
94 BuildMI(MBB, MBBI, DL, TII->get(SystemZ::SAR), DstReg).addReg(Tmp); in visitMBB()
/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.h46 orc_rt_CWrapperFunctionResult Tmp; variable
47 orc_rt_CWrapperFunctionResultInit(&Tmp);
48 std::swap(Tmp, Other.R);
49 std::swap(R, Tmp);
58 orc_rt_CWrapperFunctionResult Tmp; in release() local
59 orc_rt_CWrapperFunctionResultInit(&Tmp); in release()
60 std::swap(R, Tmp); in release()
61 return Tmp; in release()
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()
H A Dstring_pool.h148 auto Tmp = I++;
149 if (Tmp->second == 0)
150 Pool.erase(Tmp);
/freebsd/contrib/llvm-project/compiler-rt/include/orc_rt/
H A Dc_api.h107 char *Tmp = (char *)malloc(Size); in orc_rt_CreateCWrapperFunctionResultFromRange() local
108 memcpy(Tmp, Data, Size); in orc_rt_CreateCWrapperFunctionResultFromRange()
109 R.Data.ValuePtr = Tmp; in orc_rt_CreateCWrapperFunctionResultFromRange()
139 char *Tmp = (char *)malloc(strlen(ErrMsg) + 1); in orc_rt_CreateCWrapperFunctionResultFromOutOfBandError() local
140 strcpy(Tmp, ErrMsg); in orc_rt_CreateCWrapperFunctionResultFromOutOfBandError()
141 R.Data.ValuePtr = Tmp; in orc_rt_CreateCWrapperFunctionResultFromOutOfBandError()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DSubtargetFeature.cpp30 SmallVector<StringRef, 3> Tmp; in Split() local
31 S.split(Tmp, ',', -1, false /* KeepEmpty */); in Split()
32 V.reserve(Tmp.size()); in Split()
33 for (StringRef T : Tmp) in Split()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DManagedStatic.h87 void *Tmp = Ptr.load(std::memory_order_acquire);
88 if (!Tmp)
97 void *Tmp = Ptr.load(std::memory_order_acquire);
98 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.h197 JITSymbolFlags Tmp = LHS; variable
198 Tmp &= RHS;
199 return Tmp;
204 JITSymbolFlags Tmp = LHS; variable
205 Tmp |= RHS;
206 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.cpp135 char *Tmp = new char[FileName.size() + 1]; in DirName() local
136 memcpy(Tmp, FileName.c_str(), FileName.size() + 1); in DirName()
137 std::string Res = dirname(Tmp); in DirName()
138 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.h169 uptr LineSize, Next, Tmp; in storeTags() local
225 [Tmp] "=&r"(Tmp) in storeTags()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DDXContainer.h88 iterator Tmp = *this; member
90 return Tmp;
100 iterator Tmp = *this; member
102 return Tmp;
349 PartIterator Tmp = *this; variable
351 return Tmp;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DThreadSafeModule.cpp32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext() local
46 BCWriter.writeModule(*Tmp); in cloneToNewContext()
/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.cpp127 bool Tmp; in getBody() local
128 return getBody(Tmp); in getBody()
132 bool Tmp; in isBodyAutosynthesized() local
133 getBody(Tmp); in isBodyAutosynthesized()
134 return Tmp; in isBodyAutosynthesized()
138 bool Tmp; in isBodyAutosynthesizedFromModelFile() local
139 Stmt *Body = getBody(Tmp); in isBodyAutosynthesizedFromModelFile()
140 return Tmp && Body->getBeginLoc().isValid(); in isBodyAutosynthesizedFromModelFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimplePackedSerialization.h172 SPSTagT Tmp = Value; in serialize() local
174 sys::swapByteOrder(Tmp); in serialize()
175 return OB.write(reinterpret_cast<const char *>(&Tmp), sizeof(Tmp)); in serialize()
179 SPSTagT Tmp; in deserialize() local
180 if (!IB.read(reinterpret_cast<char *>(&Tmp), sizeof(Tmp))) in deserialize()
183 sys::swapByteOrder(Tmp); in deserialize()
184 Value = Tmp; in deserialize()

12345678