Home
last modified time | relevance | path

Searched refs:IsBigEndian (Results 1 – 14 of 14) sorted by relevance

/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h124 VirtualCallTarget(const TypeMemberInfo *TM, bool IsBigEndian) in VirtualCallTarget()
125 : Fn(nullptr), TM(TM), IsBigEndian(IsBigEndian), WasDevirt(false) {} in VirtualCallTarget()
139 bool IsBigEndian; member
186 if (IsBigEndian) in setBeforeBytes()
195 if (IsBigEndian) in setAfterBytes()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp42 bool IsBigEndian; member in __anon1a178b7f0111::MipsDisassembler
45 MipsDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx, bool IsBigEndian) in MipsDisassembler() argument
48 IsBigEndian(IsBigEndian) {} in MipsDisassembler()
1109 bool IsBigEndian) { in readInstruction16() argument
1116 if (IsBigEndian) { in readInstruction16()
1129 bool IsBigEndian, bool IsMicroMips) { in readInstruction32() argument
1144 if (IsBigEndian) { in readInstruction32()
1170 Result = readInstruction16(Bytes, Address, Size, Insn, IsBigEndian); in getInstruction()
1197 Result = readInstruction32(Bytes, Address, Size, Insn, IsBigEndian, true); in getInstruction()
1244 Result = readInstruction32(Bytes, Address, Size, Insn, IsBigEndian, false); in getInstruction()
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/Arch/
H A DARM.cpp201 bool IsBigEndian = Triple.getArch() == llvm::Triple::armeb || in setArchNameInTriple() local
207 IsBigEndian = !A->getOption().matches(options::OPT_mlittle_endian); in setArchNameInTriple()
209 std::string ArchName = IsBigEndian ? "armeb" : "arm"; in setArchNameInTriple()
269 if (IsBigEndian) in setArchNameInTriple()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td2447 // [HasVSX, IsBigEndian]
2451 // [HasVSX, NoP9Vector, IsBigEndian]
2455 // [HasVSX, HasP8Vector, IsBigEndian]
2462 // [HasVSX, HasDirectMove, IsBigEndian]
2470 // [HasVSX, HasP9Vector, IsBigEndian]
2924 let Predicates = [HasVSX, IsBigEndian] in {
3034 } // HasVSX, IsBigEndian
3221 } // HasVSX, NoP9Vector, IsBigEndian
3395 } // HasVSX, HasP8Vector, IsBigEndian
3641 } // HasVSX, HasDirectMove, IsBigEndian
[all …]
H A DPPCInstrP10.td2347 let Predicates = [IsISA3_1, HasVSX, IsBigEndian, IsPPC32] in {
2360 let Predicates = [IsISA3_1, HasVSX, IsBigEndian, IsPPC64] in {
2384 let AddedComplexity = 400, Predicates = [IsISA3_1, HasVSX, IsBigEndian] in {
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp664 bool IsBigEndian = DL.isBigEndian(); in foldLoadsRecursive() local
720 if (IsBigEndian) in foldLoadsRecursive()
742 uint64_t ShiftDiff = IsBigEndian ? LoadSize2 : LoadSize1; in foldLoadsRecursive()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp191 bool IsBigEndian = DL.isBigEndian(); in foldBitcastExtElt() local
202 if (IsBigEndian) in foldBitcastExtElt()
276 if (IsBigEndian) in foldBitcastExtElt()
1521 bool IsBigEndian, in foldTruncInsEltPair() argument
1556 if (IsBigEndian) { in foldTruncInsEltPair()
1578 uint64_t NewIndex = IsBigEndian ? Index1 / 2 : Index0 / 2; in foldTruncInsEltPair()
2338 bool IsBigEndian) { in foldTruncShuffle() argument
2366 uint64_t LSBIndex = IsBigEndian ? (i + 1) * TruncRatio - 1 : i * TruncRatio; in foldTruncShuffle()
H A DInstCombineCasts.cpp2158 bool IsBigEndian = IC.getDataLayout().isBigEndian(); in optimizeVectorResizeWithIntegerBitCasts() local
2181 if (IsBigEndian) in optimizeVectorResizeWithIntegerBitCasts()
2196 if (IsBigEndian) in optimizeVectorResizeWithIntegerBitCasts()
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/
H A DGnu.cpp227 bool IsBigEndian = false; in isArmBigEndian() local
231 IsBigEndian = true; in isArmBigEndian()
237 IsBigEndian = !A->getOption().matches(options::OPT_mlittle_endian); in isArmBigEndian()
242 return IsBigEndian; in isArmBigEndian()
448 bool IsBigEndian = isArmBigEndian(Triple, Args); in ConstructJob() local
449 if (IsBigEndian) in ConstructJob()
451 IsBigEndian = IsBigEndian || Arch == llvm::Triple::aarch64_be; in ConstructJob()
452 CmdArgs.push_back(IsBigEndian ? "-EB" : "-EL"); in ConstructJob()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3560 std::optional<bool> IsBigEndian = isBigEndian(MemOffset2Idx, LowestIdx); in matchLoadOrCombine() local
3561 if (!IsBigEndian) in matchLoadOrCombine()
3563 bool NeedsBSwap = IsBigEndianTarget != *IsBigEndian; in matchLoadOrCombine()
3577 *IsBigEndian in matchLoadOrCombine()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp318 IsBigEndian(Fn->getParent()->getDataLayout().isBigEndian()), WasDevirt(false) {} in VirtualCallTarget()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8509 std::optional<bool> IsBigEndian = isBigEndian( in MatchLoadCombine() local
8511 if (!IsBigEndian) in MatchLoadCombine()
8527 bool NeedsBswap = IsBigEndianTarget != *IsBigEndian; in MatchLoadCombine()
17769 if (IsBigEndian) in getOffsetFromBase()
23244 bool IsBigEndian = DAG.getDataLayout().isBigEndian(); in canCombineShuffleToExtendVectorInreg() local
23247 if (!VT.isInteger() || IsBigEndian) in canCombineShuffleToExtendVectorInreg()
23283 bool IsBigEndian = DAG.getDataLayout().isBigEndian(); in combineShuffleToAnyExtendVectorInreg() local
23286 if (!VT.isInteger() || IsBigEndian) in combineShuffleToAnyExtendVectorInreg()
23327 bool IsBigEndian = DAG.getDataLayout().isBigEndian(); in combineShuffleToZeroExtendVectorInReg() local
23328 if (!VT.isInteger() || IsBigEndian) in combineShuffleToZeroExtendVectorInReg()
[all …]
H A DSelectionDAG.cpp11701 bool IsBigEndian) const { in isConstantSplat()
11722 unsigned i = IsBigEndian ? NumOps - 1 - j : j; in isConstantSplat()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp2891 bool IsBigEndian = CurDAG->getDataLayout().isBigEndian(); in SelectCDE_CXxD() local
2907 if (IsBigEndian) in SelectCDE_CXxD()
2938 if (IsBigEndian) in SelectCDE_CXxD()