Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp114 bool ComputeCmp(size_t CmpType, U Arg1, U Arg2) { in ComputeCmp() argument
115 switch(CmpType) { in ComputeCmp()
131 static bool ComputeCmp(size_t CmpSize, size_t CmpType, uint64_t Arg1, in ComputeCmp() argument
133 if (CmpSize == 8) return ComputeCmp<uint64_t, int64_t>(CmpType, Arg1, Arg2); in ComputeCmp()
134 if (CmpSize == 4) return ComputeCmp<uint32_t, int32_t>(CmpType, Arg1, Arg2); in ComputeCmp()
135 if (CmpSize == 2) return ComputeCmp<uint16_t, int16_t>(CmpType, Arg1, Arg2); in ComputeCmp()
136 if (CmpSize == 1) return ComputeCmp<uint8_t, int8_t>(CmpType, Arg1, Arg2); in ComputeCmp()
138 if (CmpType == ICMP_EQ) return Arg1 == Arg2; in ComputeCmp()
182 void DFSanCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType,
190 void TraceCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType,
[all …]