reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/IRBuilder.h
 2401     return CreateICmpEQ(Arg, Constant::getNullValue(Arg->getType()),
 2622     Value *InvCond = CreateICmpEQ(MaskedPtr, Zero, "maskcond");
lib/CodeGen/AtomicExpandPass.cpp
  994   Value *Success = Builder.CreateICmpEQ(
 1194   Value *ShouldStore = Builder.CreateICmpEQ(
 1209   StoreSuccess = Builder.CreateICmpEQ(
 1219     ShouldStore = Builder.CreateICmpEQ(SecondLoad, CI->getCompareOperand(),
lib/CodeGen/CodeGenPrepare.cpp
 1753   Value *Cmp = Builder.CreateICmpEQ(CountZeros->getOperand(0), Zero, "cmpz");
lib/CodeGen/StackProtector.cpp
  504       Value *Cmp = B.CreateICmpEQ(Guard, LI2);
lib/ExecutionEngine/Orc/Speculation.cpp
  117               Mutator.CreateICmpEQ(LoadGuard, ConstantInt::get(LoadValueTy, 0),
lib/IR/AutoUpgrade.cpp
 1902       Rep = Builder.CreateICmpEQ(Rep, C);
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  554   Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getIntN(TyBitWidth, 0));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  810   Value *RCP_HI_0_CC = Builder.CreateICmpEQ(RCP_HI, Zero);
  846   Value *Tmp1_0_CC = Builder.CreateICmpEQ(Tmp1, Zero);
lib/Target/Hexagon/HexagonISelLowering.cpp
 3280   Value *Cmp = Builder.CreateICmpEQ(Call, Builder.getInt32(0), "");
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  571   Value *Cmp2 = IRB.CreateICmpEQ(ThenLabel, IRB.getInt32(0));
  764       Value *Cmp = IRB.CreateICmpEQ(Threw, IRB.getInt32(1), "cmp");
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  246   Value *Cmp = MatchAllBitsSet ? Builder.CreateICmpEQ(And, Mask)
lib/Transforms/Coroutines/CoroEarly.cpp
  102   auto *Cond = Builder.CreateICmpEQ(Load, NullPtr);
lib/Transforms/IPO/LowerTypeTests.cpp
  747     return B.CreateICmpEQ(PtrAsInt, OffsetedGlobalAsInt);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1039     return Builder.CreateICmpEQ(CtPop, ConstantInt::get(CtPop->getType(), 1));
 1758       Value *IsZero = Builder.CreateICmpEQ(X, ConstantInt::get(I.getType(), 0));
lib/Transforms/InstCombine/InstCombineCompares.cpp
  334     Value *C1 = Builder.CreateICmpEQ(Idx, FirstTrueIdx);
  336     Value *C2 = Builder.CreateICmpEQ(Idx, SecondTrueIdx);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  776       return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty);
  992     Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
 1070     return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), I.getType());
 1387     Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
lib/Transforms/InstCombine/InstCombineShifts.cpp
  994       Value *Cmp = Builder.CreateICmpEQ(II->getArgOperand(0), RHS);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1685         IRB.CreateICmpEQ(Tag, ConstantInt::get(IntptrTy, kMyriadDDRTag));
 3103         IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1249     Value *ShadowsEq = IRB.CreateICmpEQ(WideShadow, RotShadow);
 1279       ShadowsEq = NextIRB.CreateICmpEQ(WideShadow, NextWideShadow);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  942         IRB.CreateICmpEQ(ThreadLong, ConstantInt::get(IntptrTy, 0));
lib/Transforms/Instrumentation/InstrOrderFile.cpp
  141         entryB.CreateICmpEQ(loadBitMap, ConstantInt::get(Int8Ty, 0));
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2237                     IRB.CreateICmpEQ(
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  695     Value *Success = IRB.CreateICmpEQ(C, CmpOperand);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 2656   auto *ComparedEqual = cast<ICmpInst>(Builder.CreateICmpEQ(
lib/Transforms/Scalar/LowerAtomic.cpp
   30   Value *Equal = Builder.CreateICmpEQ(Orig, Cmp);
lib/Transforms/Scalar/MergeICmps.cpp
  633     IsEqual = Builder.CreateICmpEQ(LhsLoad, RhsLoad);
  656     IsEqual = Builder.CreateICmpEQ(
lib/Transforms/Utils/BypassSlowDivision.cpp
  345   return Builder.CreateICmpEQ(AndV, ZeroV);
lib/Transforms/Utils/CallPromotionUtils.cpp
  267   auto *Cond = Builder.CreateICmpEQ(CS.getCalledValue(), Callee);
lib/Transforms/Utils/IntegerDivision.cpp
  251   Value *Ret0_1      = Builder.CreateICmpEQ(Divisor, Zero);
  252   Value *Ret0_2      = Builder.CreateICmpEQ(Dividend, Zero);
  259   Value *RetDividend = Builder.CreateICmpEQ(SR, MSB);
  274   Value *SkipLoop = Builder.CreateICmpEQ(SR_1, Zero);
  320   Value *Tmp12 = Builder.CreateICmpEQ(SR_2, Zero);
lib/Transforms/Utils/Local.cpp
  268       Value *Cond = Builder.CreateICmpEQ(SI->getCondition(),
lib/Transforms/Utils/LowerMemIntrinsics.cpp
  340       LoopBuilder.CreateICmpEQ(IndexPtr, ConstantInt::get(TypeOfCopyLen, 0)),
  359   FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen),
  387       Builder.CreateICmpEQ(ConstantInt::get(TypeOfCopyLen, 0), CopyLen), NewBB,
lib/Transforms/Utils/SimplifyCFG.cpp
 4847           Builder.CreateICmpEQ(Condition, SecondCase, "switch.selectcmp");
 4852         Builder.CreateICmpEQ(Condition, FirstCase, "switch.selectcmp");
lib/Transforms/Vectorize/LoopVectorize.cpp
 2545   Value *ICmp = Builder.CreateICmpEQ(Next, End);
 2638     auto *IsZero = Builder.CreateICmpEQ(R, ConstantInt::get(R->getType(), 0));
tools/clang/lib/CodeGen/CGBuiltin.cpp
  933     Value *IsZero = Builder.CreateICmpEQ(ArgValue, ArgZero);
 1963     Value *IsZero = Builder.CreateICmpEQ(ArgValue, Zero, "iszero");
 2510     Value *SizeEq0 = Builder.CreateICmpEQ(Size, ConstantInt::get(SizeTy, 0));
 2536         Builder.CreateICmpEQ(NextSize, ConstantInt::get(SizeTy, 0));
 7779         Builder.CreateICmpEQ(Ops[0], llvm::Constant::getNullValue(Int64Ty));
10063   return Builder.CreateICmpEQ(CpuValue,
10123     Value *Cmp = Builder.CreateICmpEQ(Bitset, Mask);
10138     Value *Cmp = Builder.CreateICmpEQ(Bitset, Mask);
11467     Value *Cmp = Builder.CreateICmpEQ(Or, C);
11476     Value *Cmp = Builder.CreateICmpEQ(Or, C);
tools/clang/lib/CodeGen/CGCUDANV.cpp
  364     llvm::Value *CBZero = CGF.Builder.CreateICmpEQ(CB, Zero);
  642       llvm::Value *EQZero = CtorBuilder.CreateICmpEQ(HandleValue, Zero);
tools/clang/lib/CodeGen/CGClass.cpp
 2007   llvm::Value *done = Builder.CreateICmpEQ(next, arrayEnd, "arrayctor.done");
 2289       Builder.CreateICmpEQ(VPtrValue, VTableGlobal, "cmp.vtables");
tools/clang/lib/CodeGen/CGDecl.cpp
 1711     llvm::Value *IsZeroSizedVLA = Builder.CreateICmpEQ(
 1734     llvm::Value *Done = Builder.CreateICmpEQ(Next, End, "vla-init.isdone");
 2155     llvm::Value *isEmpty = Builder.CreateICmpEQ(begin, end,
 2183   llvm::Value *done = Builder.CreateICmpEQ(element, begin, "arraydestroy.done");
tools/clang/lib/CodeGen/CGException.cpp
 1033         CGF.Builder.CreateICmpEQ(Selector, TypeIndex, "matches");
 1114       CGF.Builder.CreateICmpEQ(selector, typeIndex, "matches");
tools/clang/lib/CodeGen/CGExpr.cpp
  754           Builder.CreateICmpEQ(Align, llvm::ConstantInt::get(IntPtrTy, 0));
  836       llvm::Value *EqualHash = Builder.CreateICmpEQ(CacheVal, Hash);
 4812       llvm::Value *CalleeSigMatch = Builder.CreateICmpEQ(CalleeSig, PrefixSig);
 4826           Builder.CreateICmpEQ(CalleeRTTI, FTRTTIConst);
tools/clang/lib/CodeGen/CGExprAgg.cpp
  622     llvm::Value *done = Builder.CreateICmpEQ(nextElement, end,
 1718   llvm::Value *done = Builder.CreateICmpEQ(
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1219       Builder.CreateICmpEQ(CurPtr.getPointer(), EndPtr, "array.isempty");
 1263   llvm::Value *IsEnd = Builder.CreateICmpEQ(NextPtr, EndPtr, "array.atend");
tools/clang/lib/CodeGen/CGExprScalar.cpp
  974   Check = Builder.CreateICmpEQ(Check, Src, "truncheck");
 1080   Check = Builder.CreateICmpEQ(SrcIsNegative, DstIsNegative, "signchangecheck");
 3450     return Builder.CreateICmpEQ(FullLHS, FullRHS);
 3643       llvm::Value *ValidBase = Builder.CreateICmpEQ(BitsShiftedOff, Zero);
 4717             ? Builder.CreateICmpEQ(BaseIsNotNullptr, ResultIsNotNullptr)
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  379         CGF.Builder.CreateICmpEQ(PHIs[DstIdx], DstArrayEnd, "done");
tools/clang/lib/CodeGen/CGObjC.cpp
 1722       Builder.CreateICmpEQ(initialBufferLimit, zero, "iszero"), EmptyBB,
 1767   Builder.CreateCondBr(Builder.CreateICmpEQ(currentMutations, initialMutations),
 1890   Builder.CreateCondBr(Builder.CreateICmpEQ(refetchCount, zero),
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2657     llvm::Value *isNil = Builder.CreateICmpEQ(Receiver,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  886       CGF.Builder.CreateICmpEQ(DestBegin, DestEnd, "omp.arrayinit.isempty");
  935       CGF.Builder.CreateICmpEQ(DestElementNext, DestEnd, "omp.arraycpy.done");
 5490       CGF.Builder.CreateICmpEQ(LHSBegin, LHSEnd, "omp.arraycpy.isempty");
 5528       CGF.Builder.CreateICmpEQ(LHSElementNext, LHSEnd, "omp.arraycpy.done");
 8911       MapperCGF.Builder.CreateICmpEQ(PtrBegin, PtrEnd, "omp.arraymap.isempty");
 9015     llvm::Value *IsTo = MapperCGF.Builder.CreateICmpEQ(
 9026     llvm::Value *IsFrom = MapperCGF.Builder.CreateICmpEQ(
 9061       MapperCGF.Builder.CreateICmpEQ(PtrNext, PtrEnd, "omp.arraymap.isdone");
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1219       Bld.CreateICmpEQ(getNVPTXThreadID(CGF), getMasterThreadID(CGF));
 1464         Bld.CreateICmpEQ(Bld.CreateLoad(WorkFn), ID, "work_match");
 2781       CGF.Builder.CreateICmpEQ(ThreadID, CounterVal);
 3557   llvm::Value *Algo1 = Bld.CreateICmpEQ(AlgoVerArgVal, Bld.getInt16(1));
 3561   llvm::Value *Algo2 = Bld.CreateICmpEQ(AlgoVerArgVal, Bld.getInt16(2));
 3592   Algo1 = Bld.CreateICmpEQ(AlgoVerArgVal, Bld.getInt16(1));
 4404   llvm::Value *Cond = CGF.Builder.CreateICmpEQ(
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  658       Builder.CreateICmpEQ(DestBegin, DestEnd, "omp.arraycpy.isempty");
  691       Builder.CreateICmpEQ(DestElementNext, DestEnd, "omp.arraycpy.done");
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1611   llvm::Value *done = Builder.CreateICmpEQ(next, end, "vla-init.isdone");
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  865     llvm::Value *isNull = Builder.CreateICmpEQ(src, null, "memptr.isnull");
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2527         Builder.CreateICmpEQ(Builder.CreateAnd(LI, Bit), Zero);
 2577         Builder.CreateICmpEQ(SecondGuardLoad, getAllOnesInt());
 3186       Builder.CreateICmpEQ(VirtualBaseAdjustmentOffset, getZeroInt());
 3239           Builder.CreateICmpEQ(VirtualBaseAdjustmentOffset, getZeroInt());
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
  169     Builder.CreateCondBr(Builder.CreateICmpEQ(Param, Zero),