/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCPreEmitPeephole.cpp | 288 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 D | ArgumentPromotion.cpp | 145 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 D | DependenceAnalysis.cpp | 894 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 D | ReplayInlineAdvisor.cpp | 51 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 D | BlotMapVector.h | 56 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 D | ProvenanceAnalysis.cpp | 170 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 D | LLVMContextImpl.cpp | 64 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 D | RegisterPressure.h | 306 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 D | LLLexer.cpp | 75 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 D | der | 37 >&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 D | X86EVEX2VEXTablesEmitter.cpp |
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map_info.h | 255 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 D | DWPStringPool.h | 44 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 D | DenseMapInfo.h | 222 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 D | MapVector.h | 99 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 D | Dominators.h | 102 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 D | RegisterPressure.cpp | 362 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 D | WebAssemblyInstPrinter.cpp | 224 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 D | WebAssemblyTargetStreamer.cpp | 131 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 D | DebugStringTableSubsection.cpp | 72 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 D | RewriteStatepointsForGC.cpp | 914 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 D | WebAssemblyAddMissingPrototypes.cpp | 143 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 D | gmock-matchers-comparisons_test.cc | 1460 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 D | DiffEngine.cpp |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | Evaluator.h | 104 for (const auto &Pair : MutatedMemory) in getMutatedInitializers() local 105 Result[Pair.first] = Pair.second.toConstant(); in getMutatedInitializers()
|