Lines Matching refs:ChkBuilder
1904 IRBuilder<InstSimplifyFolder> ChkBuilder(Ctx, in addRuntimeChecks() local
1906 ChkBuilder.SetInsertPoint(Loc); in addRuntimeChecks()
1928 Value *Cmp0 = ChkBuilder.CreateICmpULT(A.Start, B.End, "bound0"); in addRuntimeChecks()
1929 Value *Cmp1 = ChkBuilder.CreateICmpULT(B.Start, A.End, "bound1"); in addRuntimeChecks()
1930 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
1932 Value *IsNegativeStride = ChkBuilder.CreateICmpSLT( in addRuntimeChecks()
1935 IsConflict = ChkBuilder.CreateOr(IsConflict, IsNegativeStride); in addRuntimeChecks()
1938 Value *IsNegativeStride = ChkBuilder.CreateICmpSLT( in addRuntimeChecks()
1941 IsConflict = ChkBuilder.CreateOr(IsConflict, IsNegativeStride); in addRuntimeChecks()
1945 ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, "conflict.rdx"); in addRuntimeChecks()
1958 IRBuilder<InstSimplifyFolder> ChkBuilder(Ctx, in addDiffRuntimeChecks() local
1960 ChkBuilder.SetInsertPoint(Loc); in addDiffRuntimeChecks()
1972 ChkBuilder.CreateMul(GetVF(ChkBuilder, Ty->getScalarSizeInBits()), in addDiffRuntimeChecks()
1984 ChkBuilder.CreateICmpULT(Diff, VFTimesUFTimesSize, "diff.check"); in addDiffRuntimeChecks()
1988 ChkBuilder.CreateFreeze(IsConflict, IsConflict->getName() + ".fr"); in addDiffRuntimeChecks()
1991 ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, "conflict.rdx"); in addDiffRuntimeChecks()