Searched refs:CmpType (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 114 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 750 Type *CmpType = Cmp->getType(); in ComputeValueKnownInPredecessors() local 804 if (isa<Constant>(CmpRHS) && !CmpType->isVectorTy()) { in ComputeValueKnownInPredecessors() 822 Constant *ResC = ConstantInt::get(CmpType, Res); in ComputeValueKnownInPredecessors() 860 ResC = ConstantInt::getTrue(CmpType); in ComputeValueKnownInPredecessors() 862 ResC = ConstantInt::getFalse(CmpType); in ComputeValueKnownInPredecessors()
|