Home
last modified time | relevance | path

Searched refs:Pair (Results 1 – 25 of 203) sorted by relevance

123456789

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPreEmitPeephole.cpp288 GOTDefUsePair &Pair = CandPairs[Idx]; in addLinkerOpt() local
291 if (!BBI->readsRegister(Pair.DefReg, TRI) && in addLinkerOpt()
292 !BBI->modifiesRegister(Pair.DefReg, TRI)) in addLinkerOpt()
301 if (UseOp && UseOp->isReg() && UseOp->getReg() == Pair.DefReg && in addLinkerOpt()
303 Pair.UseInst = BBI; in addLinkerOpt()
304 Pair.UseReg = BBI->getOperand(0).getReg(); in addLinkerOpt()
305 ValidPairs.push_back(Pair); in addLinkerOpt()
312 for (auto Pair = ValidPairs.begin(); Pair != ValidPairs.end(); Pair++) { in addLinkerOpt() local
314 assert(Pair->UseInst.isValid() && Pair->StillValid && in addLinkerOpt()
319 MachineBasicBlock::iterator BBI = Pair->DefInst; in addLinkerOpt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp145 for (const auto &Pair : ArgParts) { in doPromotion() local
146 Params.push_back(Pair.second.Ty); in doPromotion()
228 for (const auto &Pair : ArgParts) { in doPromotion() local
230 Pair.second.Ty, in doPromotion()
231 createByteGEP(IRB, DL, V, Pair.second.Ty, Pair.first), in doPromotion()
232 Pair.second.Alignment, V->getName() + ".val"); in doPromotion()
233 if (Pair.second.MustExecInstr) { in doPromotion()
234 LI->setAAMetadata(Pair.second.MustExecInstr->getAAMetadata()); in doPromotion()
235 LI->copyMetadata(*Pair.second.MustExecInstr, in doPromotion()
245 LI->copyMetadata(*Pair.second.MustExecInstr, in doPromotion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp894 for (Subscript *Pair : Pairs) { in unifySubscriptType()
895 const SCEV *Src = Pair->Src; in unifySubscriptType()
896 const SCEV *Dst = Pair->Dst; in unifySubscriptType()
919 for (Subscript *Pair : Pairs) { in unifySubscriptType()
920 const SCEV *Src = Pair->Src; in unifySubscriptType()
921 const SCEV *Dst = Pair->Dst; in unifySubscriptType()
932 Pair->Src = SE->getSignExtendExpr(Src, widestType); in unifySubscriptType()
935 Pair->Dst = SE->getSignExtendExpr(Dst, widestType); in unifySubscriptType()
944 void DependenceInfo::removeMatchingExtensions(Subscript *Pair) { in removeMatchingExtensions() argument
945 const SCEV *Src = Pair->Src; in removeMatchingExtensions()
[all …]
H A DReplayInlineAdvisor.cpp51 auto Pair = Line.split(" at callsite "); in ReplayInlineAdvisor() local
54 if (Pair.first.contains(NegativeRemark)) in ReplayInlineAdvisor()
58 Pair.first.split(IsPositiveRemark ? PositiveRemark : NegativeRemark); in ReplayInlineAdvisor()
63 auto CallSite = Pair.second.split(";").first; in ReplayInlineAdvisor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h56 std::pair<typename MapTy::iterator, bool> Pair = variable
58 if (Pair.second) {
60 Pair.first->second = Num;
64 return Vector[Pair.first->second].second;
68 std::pair<typename MapTy::iterator, bool> Pair = in insert() local
70 if (Pair.second) { in insert()
72 Pair.first->second = Num; in insert()
76 return std::make_pair(Vector.begin() + Pair.first->second, false); in insert()
H A DProvenanceAnalysis.cpp170 std::pair<CachedResultsTy::iterator, bool> Pair = in related() local
172 if (!Pair.second) in related()
173 return Pair.first->second; in related()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp64 for (auto &Pair : ValueMetadata) in ~LLVMContextImpl() local
65 Pair.first->dump(); in ~LLVMContextImpl()
79 for (auto &Pair : ValuesAsMetadata) in ~LLVMContextImpl() local
80 Pair.second->dropUsers(); in ~LLVMContextImpl()
81 for (auto &Pair : MetadataAsValues) in ~LLVMContextImpl() local
82 Pair.second->dropUse(); in ~LLVMContextImpl()
141 for (auto &Pair : MetadataAsValues) in ~LLVMContextImpl() local
142 MDVs.push_back(Pair.second); in ~LLVMContextImpl()
149 for (auto &Pair : ValuesAsMetadata) in ~LLVMContextImpl() local
150 delete Pair.second; in ~LLVMContextImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterPressure.h306 LaneBitmask insert(RegisterMaskPair Pair) { in insert() argument
307 unsigned SparseIndex = getSparseIndexFromReg(Pair.RegUnit); in insert()
308 auto InsertRes = Regs.insert(IndexMaskPair(SparseIndex, Pair.LaneMask)); in insert()
311 InsertRes.first->LaneMask |= Pair.LaneMask; in insert()
319 LaneBitmask erase(RegisterMaskPair Pair) { in erase() argument
320 unsigned SparseIndex = getSparseIndexFromReg(Pair.RegUnit); in erase()
325 I->LaneMask &= ~Pair.LaneMask; in erase()
549 void discoverLiveOut(RegisterMaskPair Pair);
551 void discoverLiveIn(RegisterMaskPair Pair);
562 void discoverLiveInOrOut(RegisterMaskPair Pair,
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp75 uint64_t Pair[2]) { in HexToIntPair()
76 Pair[0] = 0; in HexToIntPair()
80 Pair[0] *= 16; in HexToIntPair()
81 Pair[0] += hexDigitValue(*Buffer); in HexToIntPair()
84 Pair[1] = 0; in HexToIntPair()
86 Pair[1] *= 16; in HexToIntPair()
87 Pair[1] += hexDigitValue(*Buffer); in HexToIntPair()
96 uint64_t Pair[2]) { in FP80HexToIntPair()
97 Pair[1] = 0; in FP80HexToIntPair()
100 Pair[1] *= 16; in FP80HexToIntPair()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dder37 >&0 der int3=010001 DER Encoded Key Pair, 512 bits
42 >&0 der int3=010001 DER Encoded Key Pair, 1024 bits
47 >&0 der int3=010001 DER Encoded Key Pair, 2048 bits
52 >&0 der int3=010001 DER Encoded Key Pair, 4096 bits
57 >&0 der int3=010001 DER Encoded Key Pair, 8192 bits
62 >&0 der int3=010001 DER Encoded Key Pair, 16k bits
67 >&0 der int3=010001 DER Encoded Key Pair, 32k bits
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86EVEX2VEXTablesEmitter.cpp
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h255 using Pair = detail::DenseMapPair<T, U>;
259 static constexpr Pair getEmptyKey() {
264 static constexpr Pair getTombstoneKey() {
269 static constexpr unsigned getHashValue(const Pair &PairVal) {
274 static constexpr bool isEqual(const Pair &LHS, const Pair &RHS) {
/freebsd/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWPStringPool.h44 auto Pair = Pool.insert(std::make_pair(Str, Offset)); in getOffset() local
45 if (Pair.second) { in getOffset()
51 return Pair.first->second; in getOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h222 using Pair = std::pair<T, U>;
226 static inline Pair getEmptyKey() {
231 static inline Pair getTombstoneKey() {
236 static unsigned getHashValue(const Pair& PairVal) {
249 static bool isEqual(const Pair &LHS, const Pair &RHS) {
H A DMapVector.h99 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0); variable
100 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
118 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0); insert() local
131 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0); insert() local
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h102 BasicBlockEdge(const std::pair<BasicBlock *, BasicBlock *> &Pair) in BasicBlockEdge() argument
103 : Start(Pair.first), End(Pair.second) {} in BasicBlockEdge()
105 BasicBlockEdge(const std::pair<const BasicBlock *, const BasicBlock *> &Pair) in BasicBlockEdge() argument
106 : Start(Pair.first), End(Pair.second) {} in BasicBlockEdge()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterPressure.cpp362 for (const RegisterMaskPair &Pair : P.LiveOutRegs) { in initLiveThru() local
363 Register RegUnit = Pair.RegUnit; in initLiveThru()
366 LaneBitmask::getNone(), Pair.LaneMask); in initLiveThru()
381 RegisterMaskPair Pair) { in addRegLanes() argument
382 Register RegUnit = Pair.RegUnit; in addRegLanes()
383 assert(Pair.LaneMask.any()); in addRegLanes()
388 RegUnits.push_back(Pair); in addRegLanes()
390 I->LaneMask |= Pair.LaneMask; in addRegLanes()
407 RegisterMaskPair Pair) { in removeRegLanes() argument
408 Register RegUnit = Pair.RegUnit; in removeRegLanes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp224 const auto &Pair = ControlFlowStack.rbegin()[Depth]; in printInst()
225 if (Pair.second) in printInst()
228 Label += "down to catch" + utostr(Pair.first); in printInst()
259 const auto &Pair = ControlFlowStack.rbegin()[Depth]; in printInst()
261 (Pair.second ? "up" : "down") + " to label" + in printInst()
262 utostr(Pair.first)); in printInst()
223 const auto &Pair = ControlFlowStack.rbegin()[Depth]; printInst() local
258 const auto &Pair = ControlFlowStack.rbegin()[Depth]; printInst() local
H A DWebAssemblyTargetStreamer.cpp131 for (auto Pair : Grouped) { in emitLocal() local
132 Streamer.emitULEB128IntValue(Pair.second); in emitLocal()
133 emitValueType(Pair.first); in emitLocal()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugStringTableSubsection.cpp72 for (auto &Pair : StringToId) { in commit() local
73 StringRef S = Pair.getKey(); in commit()
74 uint32_t Offset = Begin + Pair.getValue(); in commit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp914 for (const auto &Pair : States) { in findBasePointer() local
915 LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n"); in findBasePointer()
927 for (auto Pair : States) { in findBasePointer() local
928 Value *BDV = Pair.first; in findBasePointer()
1018 for (auto Pair : States) { in findBasePointer() local
1019 Value *BDV = Pair.first; in findBasePointer()
1024 !areBothVectorOrScalar(BDV, Pair.second.getBaseValue())) && in findBasePointer()
1042 BDVState OldState = Pair.second; in findBasePointer()
1056 for (const auto &Pair : States) { in findBasePointer() local
1057 LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n"); in findBasePointer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp143 for (auto &Pair : Replacements) { in runOnModule() local
144 Function *OldF = Pair.first; in runOnModule()
145 Function *NewF = Pair.second; in runOnModule()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1460 Matcher<const pair<const char*, int>&> m1 = Pair("foo", 42); in TEST()
1461 Matcher<const pair<const char*, int>> m2 = Pair("foo", 42); in TEST()
1462 Matcher<pair<const char*, int>> m3 = Pair("foo", 42); in TEST()
1464 Matcher<pair<int, const std::string>> m4 = Pair(25, "42"); in TEST()
1465 Matcher<pair<const std::string, int>> m5 = Pair("25", 42); in TEST()
1469 Matcher<const pair<std::string, int>&> m1 = Pair("foo", 42); in TEST()
1479 Matcher<const pair<int, int>&> m2 = Not(Pair(Not(13), 42)); in TEST()
1489 const Matcher<pair<int, int>> m = Pair(GreaterThan(0), GreaterThan(0)); in TEST()
1512 const Matcher<pair<int, int>> explain_first = Pair(GreaterThan(0), 0); in TEST()
1520 const Matcher<pair<int, int>> explain_second = Pair(0, GreaterThan(0)); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h104 for (const auto &Pair : MutatedMemory) in getMutatedInitializers() local
105 Result[Pair.first] = Pair.second.toConstant(); in getMutatedInitializers()

123456789