Home
last modified time | relevance | path

Searched refs:Swapped (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp38 const uint16_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU16() local
39 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); in writeU16()
43 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU32() local
44 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); in writeU32()
48 const uint64_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU64() local
49 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); in writeU64()
53 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in fixup32() local
54 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()
/llvm-project-15.0.7/llvm/test/MC/Hexagon/
H A Dhvx-swapped-regpairs.s16 ## Swapped def
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp757 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in combine() local
758 MD5.update(llvm::makeArrayRef((uint8_t *)&Swapped, sizeof(Swapped))); in combine()
783 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in finalize() local
784 MD5.update(llvm::makeArrayRef((uint8_t *)&Swapped, sizeof(Swapped))); in finalize()
H A DTargetInfo.cpp10146 std::string Swapped; // A temporary place holder for a Recursive encoding member
10264 E.Swapped.swap(E.Str); // swap out the Recursive in addIncomplete()
10289 if (E.Swapped.empty()) in removeIncomplete()
10293 E.Swapped.swap(E.Str); in removeIncomplete()
10294 E.Swapped.clear(); in removeIncomplete()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1175 const bool Swapped = Off.isNegative(); in aliasGEP() local
1177 if (Swapped) { in aliasGEP()
1203 AR.swap(Swapped); in aliasGEP()
1637 const bool Swapped = V1 > V2; in aliasCheck() local
1638 if (Swapped) in aliasCheck()
1651 Result.swap(Swapped); in aliasCheck()
1674 Entry.Result.swap(Swapped); in aliasCheck()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindSymbols.cpp535 bool Swapped = false; in mergePragmas() local
541 Swapped = true; in mergePragmas()
546 if (!Swapped) in mergePragmas()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp1366 bool Swapped = false, SomeOpMatched = false; in validate() local
1390 if (BaseInst->getOperand(Swapped ? unsigned(!j) : j) != Op2) { in validate()
1396 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
1398 Swapped = true; in validate()
H A DIndVarSimplify.cpp1498 bool Swapped = false; in canonicalizeExitCondition() local
1507 Swapped = true; in canonicalizeExitCondition()
1537 ICmp->setOperand(Swapped ? 1 : 0, LHSOp); in canonicalizeExitCondition()
1538 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCStreamer.cpp139 uint64_t Swapped = support::endian::byte_swap( in emitIntValue() local
142 emitBytes(StringRef(reinterpret_cast<char *>(&Swapped) + Index, Size)); in emitIntValue()
152 const APInt Swapped = ShouldSwap ? Value.byteSwap() : Value; in emitIntValue() local
156 StoreIntToMemory(Swapped, reinterpret_cast<uint8_t *>(Tmp.data()), Size); in emitIntValue()
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp406 uint32_t Swapped = (Value & 0xFFFF0000) >> 16; in swapHalfWords() local
407 Swapped |= (Value & 0x0000FFFF) << 16; in swapHalfWords()
408 return Swapped; in swapHalfWords()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp444 bool Swapped) -> Instruction * { in foldSelectIntoOp() argument
471 SI.getCondition(), Swapped ? C : OOp, Swapped ? OOp : C); in foldSelectIntoOp()
1168 bool Swapped = false; in foldSelectValueEquivalence() local
1171 Swapped = true; in foldSelectValueEquivalence()
1184 return replaceOperand(Sel, Swapped ? 2 : 1, V); in foldSelectValueEquivalence()
1206 return replaceOperand(Sel, Swapped ? 2 : 1, V); in foldSelectValueEquivalence()
H A DInstCombineAddSub.cpp1682 bool Swapped = false; in OptimizePointerDifference() local
1686 Swapped = true; in OptimizePointerDifference()
1735 if (IsNUW && !GEP2 && !Swapped && GEP1->isInBounds() && in OptimizePointerDifference()
1748 if (Swapped) in OptimizePointerDifference()
/llvm-project-15.0.7/llvm/test/TableGen/
H A DDefaultOpsGlobalISel.td148 // // Swapped order in instruction from pattern
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Druntime-check-address-space.ll81 ; Swapped arguments should be the same
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1278 SmallVector<int,128> Swapped(SMH.Mask.begin(), SMH.Mask.end()); in packs() local
1279 ShuffleVectorSDNode::commuteMask(Swapped); in packs()
1280 ShuffleMask SW(Swapped); in packs()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp3341 uint64_t Swapped = support::endian::byte_swap( in encodePseudoProbes() local
3344 auto Entry = StringRef(reinterpret_cast<char *>(&Swapped) + Index, Size); in encodePseudoProbes()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp16247 bool Swapped = false; in CombineToPreIndexedLoadStore() local
16250 Swapped = true; in CombineToPreIndexedLoadStore()
16327 if (Swapped) in CombineToPreIndexedLoadStore()
16378 if (Swapped) in CombineToPreIndexedLoadStore()
16405 int X1 = (AM == ISD::PRE_DEC && !Swapped) ? -1 : 1; in CombineToPreIndexedLoadStore()
16406 int Y1 = (AM == ISD::PRE_DEC && Swapped) ? -1 : 1; in CombineToPreIndexedLoadStore()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrAVX512.td2303 // Swapped operand version of the above.