Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp84 std::string Swapped; // A temporary place holder for a Recursive encoding member
202 E.Swapped.swap(E.Str); // swap out the Recursive in addIncomplete()
227 if (E.Swapped.empty()) in removeIncomplete()
231 E.Swapped.swap(E.Str); in removeIncomplete()
232 E.Swapped.clear(); in removeIncomplete()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp974 uint64_t Swapped = in combine() local
976 MD5.update(llvm::ArrayRef((uint8_t *)&Swapped, sizeof(Swapped))); in combine()
1001 uint64_t Swapped = in finalize() local
1003 MD5.update(llvm::ArrayRef((uint8_t *)&Swapped, sizeof(Swapped))); in finalize()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1160 const bool Swapped = Off.isNegative(); in aliasGEP() local
1162 if (Swapped) { in aliasGEP()
1189 AR.swap(Swapped); in aliasGEP()
1687 const bool Swapped = V1 > V2; in aliasCheck() local
1688 if (Swapped) in aliasCheck()
1704 Result.swap(Swapped); in aliasCheck()
1727 Entry.Result.swap(Swapped); in aliasCheck()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp328 bool Swapped = false) -> Value * { in foldSelectOpOp() argument
329 assert(!(Commute && Swapped) && in foldSelectOpOp()
331 if (!Swapped) { in foldSelectOpOp()
345 if (!Commute && !Swapped) in foldSelectOpOp()
431 bool Swapped = TPred != FPred; in foldSelectOpOp() local
433 getCommonOp(TI, FI, ICmpInst::isEquality(TPred), Swapped)) { in foldSelectOpOp()
516 bool Swapped) -> Instruction * { in foldSelectIntoOp() argument
558 Value *NewSel = Builder.CreateSelect(SI.getCondition(), Swapped ? C : OOp, in foldSelectIntoOp()
559 Swapped ? OOp : C, "", &SI); in foldSelectIntoOp()
1293 bool Swapped = false; in foldSelectValueEquivalence() local
[all …]
H A DInstCombineAddSub.cpp2007 bool Swapped = false; in OptimizePointerDifference() local
2011 Swapped = true; in OptimizePointerDifference()
2046 if (IsNUW && !GEP2 && !Swapped && GEP1IsInBounds && in OptimizePointerDifference()
2060 if (Swapped) in OptimizePointerDifference()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp420 uint32_t Swapped = (Value & 0xFFFF0000) >> 16; in swapHalfWords() local
421 Swapped |= (Value & 0x0000FFFF) << 16; in swapHalfWords()
422 return Swapped; in swapHalfWords()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp138 uint64_t Swapped = support::endian::byte_swap( in emitIntValue() local
141 emitBytes(StringRef(reinterpret_cast<char *>(&Swapped) + Index, Size)); in emitIntValue()
151 const APInt Swapped = ShouldSwap ? Value.byteSwap() : Value; in emitIntValue() local
155 StoreIntToMemory(Swapped, reinterpret_cast<uint8_t *>(Tmp.data()), Size); in emitIntValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1495 bool Swapped = false; in canonicalizeExitCondition() local
1504 Swapped = true; in canonicalizeExitCondition()
1534 ICmp->setOperand(Swapped ? 1 : 0, LHSOp); in canonicalizeExitCondition()
1535 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp937 void inlineCompare(Value *LHS, StringRef RHS, uint64_t N, bool Swapped);
1054 bool Swapped) { in inlineCompare()
1083 Value *Sub = Swapped ? B.CreateSub(VR, VL) : B.CreateSub(VL, VR); in inlineCompare()
1055 inlineCompare(Value * LHS,StringRef RHS,uint64_t N,bool Swapped) inlineCompare() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp313 uint32_t Swapped = (static_cast<uint32_t>(Lo) << 16) | Hi; in tryFoldImmWithOpSel() local
314 if (AMDGPU::isInlinableLiteralV216(Swapped, OpType)) { in tryFoldImmWithOpSel()
316 Old.ChangeToImmediate(Swapped); in tryFoldImmWithOpSel()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1440 shuffles::MaskT Swapped(SMH.Mask); in packs()
1441 ShuffleVectorSDNode::commuteMask(Swapped); in packs() local
1442 ShuffleMask SW(Swapped); in packs()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFragmentsSIMD.td1317 // Swapped operand version of the above.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp18475 bool Swapped = false; in CombineToPreIndexedLoadStore() local
18478 Swapped = true; in CombineToPreIndexedLoadStore()
18557 if (Swapped) in CombineToPreIndexedLoadStore()
18608 if (Swapped) in CombineToPreIndexedLoadStore()
18635 int X1 = (AM == ISD::PRE_DEC && !Swapped) ? -1 : 1; in CombineToPreIndexedLoadStore()
18636 int Y1 = (AM == ISD::PRE_DEC && Swapped) ? -1 : 1; in CombineToPreIndexedLoadStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp15870 bool Swapped) { in tryFoldSelectIntoOp()
15909 if (Swapped) in tryFoldSelectIntoOp()
16021 if (SDValue V = tryFoldSelectIntoOp(N, DAG, TrueVal, FalseVal, /*Swapped*/false)) in performSELECTCombine()
16023 return tryFoldSelectIntoOp(N, DAG, FalseVal, TrueVal, /*Swapped*/true);
15867 tryFoldSelectIntoOp(SDNode * N,SelectionDAG & DAG,SDValue TrueVal,SDValue FalseVal,bool Swapped) tryFoldSelectIntoOp() argument