Home
last modified time | relevance | path

Searched refs:Bswap (Results 1 – 25 of 27) sorted by relevance

12

/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerBuiltins.h23 inline uint8_t Bswap(uint8_t x) { return x; } in Bswap() function
24 inline uint16_t Bswap(uint16_t x) { return __builtin_bswap16(x); } in Bswap() function
25 inline uint32_t Bswap(uint32_t x) { return __builtin_bswap32(x); } in Bswap() function
26 inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); } in Bswap() function
DFuzzerBuiltinsMsvc.h28 inline uint8_t Bswap(uint8_t x) { return x; } in Bswap() function
31 inline uint16_t Bswap(uint16_t x) { return _byteswap_ushort(x); } in Bswap() function
32 inline uint32_t Bswap(uint32_t x) { return _byteswap_ulong(x); } in Bswap() function
33 inline uint64_t Bswap(uint64_t x) { return _byteswap_uint64(x); } in Bswap() function
DFuzzerMutate.cpp228 if (Rand.RandBool()) Arg1 = Bswap(Arg1); in MakeDictionaryEntryFromCMP()
229 if (Rand.RandBool()) Arg2 = Bswap(Arg2); in MakeDictionaryEntryFromCMP()
392 Val = Bswap(Val); in ChangeBinaryInteger()
398 Val = Bswap(T(Bswap(Val) + Add)); // Add assuming different endiannes. in ChangeBinaryInteger()
DFuzzerUtil.h112 template <typename T> T HostToLE(T X) { return Bswap(X); } in HostToLE()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerBuiltins.h23 inline uint8_t Bswap(uint8_t x) { return x; } in Bswap() function
24 inline uint16_t Bswap(uint16_t x) { return __builtin_bswap16(x); } in Bswap() function
25 inline uint32_t Bswap(uint32_t x) { return __builtin_bswap32(x); } in Bswap() function
26 inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); } in Bswap() function
DFuzzerBuiltinsMsvc.h28 inline uint8_t Bswap(uint8_t x) { return x; } in Bswap() function
31 inline uint16_t Bswap(uint16_t x) { return _byteswap_ushort(x); } in Bswap() function
32 inline uint32_t Bswap(uint32_t x) { return _byteswap_ulong(x); } in Bswap() function
33 inline uint64_t Bswap(uint64_t x) { return _byteswap_uint64(x); } in Bswap() function
DFuzzerMutate.cpp228 if (Rand.RandBool()) Arg1 = Bswap(Arg1); in MakeDictionaryEntryFromCMP()
229 if (Rand.RandBool()) Arg2 = Bswap(Arg2); in MakeDictionaryEntryFromCMP()
392 Val = Bswap(Val); in ChangeBinaryInteger()
398 Val = Bswap(T(Bswap(Val) + Add)); // Add assuming different endiannes. in ChangeBinaryInteger()
DFuzzerUtil.h112 template <typename T> T HostToLE(T X) { return Bswap(X); } in HostToLE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp464 Function *Bswap = Intrinsic::getDeclaration(CI->getModule(), in emitLoadCompareBlock() local
466 LoadSrc1 = Builder.CreateCall(Bswap, LoadSrc1); in emitLoadCompareBlock()
467 LoadSrc2 = Builder.CreateCall(Bswap, LoadSrc2); in emitLoadCompareBlock()
585 Function *Bswap = Intrinsic::getDeclaration(CI->getModule(), in getMemCmpOneBlock() local
587 LoadSrc1 = Builder.CreateCall(Bswap, LoadSrc1); in getMemCmpOneBlock()
588 LoadSrc2 = Builder.CreateCall(Bswap, LoadSrc2); in getMemCmpOneBlock()
/external/swiftshader/third_party/subzero/src/
DIceIntrinsics.h43 Bswap, enumerator
DIceInstX86Base.h90 Bswap, enumerator
1139 class InstX86Bswap : public InstX86BaseInplaceopGPR<InstX86Base::Bswap> {
1147 : InstX86BaseInplaceopGPR<InstX86Base::Bswap>(Func, SrcDest) {} in InstX86Bswap()
3199 using Bswap = typename InstImpl<TraitsType>::InstX86Bswap; member
DIceTargetLoweringX86Base.h587 Context.insert<typename Traits::Insts::Bswap>(SrcDest); in _bswap()
DIceTargetLoweringMIPS32.cpp4909 case Intrinsics::Bswap: { in lowerIntrinsic()
/external/icing/icing/text_classifier/lib3/utils/hash/
Dfarmhash.cc357 #undef Bswap
358 #define Bswap Bswap64 macro
528 #undef Bswap
529 #define Bswap Bswap32 macro
656 #undef Bswap
657 #define Bswap Bswap32
908 #undef Bswap
909 #define Bswap Bswap32
1108 #undef Bswap
1109 #define Bswap Bswap32 macro
[all …]
/external/libtextclassifier/native/utils/hash/
Dfarmhash.cc359 #undef Bswap
360 #define Bswap Bswap64 macro
530 #undef Bswap
531 #define Bswap Bswap32 macro
658 #undef Bswap
659 #define Bswap Bswap32
910 #undef Bswap
911 #define Bswap Bswap32
1110 #undef Bswap
1111 #define Bswap Bswap32 macro
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DExpandMemCmp.cpp308 Function *Bswap = Intrinsic::getDeclaration(CI->getModule(), in getLoadPair() local
310 Lhs = Builder.CreateCall(Bswap, Lhs); in getLoadPair()
311 Rhs = Builder.CreateCall(Bswap, Rhs); in getLoadPair()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2698 Function *Bswap = in visitBitCast() local
2701 return IntrinsicInst::Create(Bswap, { ScalarX }); in visitBitCast()
DInstCombineCalls.cpp925 Function *Bswap = Intrinsic::getDeclaration(Mod, Intrinsic::bswap, Ty); in visitCallInst() local
926 return CallInst::Create(Bswap, { Op0 }); in visitCallInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2542 Function *Bswap = in visitBitCast() local
2545 return IntrinsicInst::Create(Bswap, { ScalarX }); in visitBitCast()
DInstCombineCalls.cpp1996 Function *Bswap = Intrinsic::getDeclaration(Mod, Intrinsic::bswap, Ty); in visitCallInst() local
1997 return CallInst::Create(Bswap, { Op0 }); in visitCallInst()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DGPRArith.cpp1718 TEST_F(AssemblerX8632Test, Bswap) { in TEST_F() argument
/external/llvm/lib/Target/ARM/
DARMInstrThumb.td1384 // Bswap 16 with load/store
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp1718 TEST_F(AssemblerX8664Test, Bswap) { in TEST_F() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrThumb.td1552 // Bswap 16 with load/store
/external/llvm-project/llvm/lib/Target/ARM/
DARMInstrThumb.td1564 // Bswap 16 with load/store

12