Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1843 IRBuilder<> ChkBuilder(Loc); in addRuntimeChecks() local
1861 Value *Start0 = ChkBuilder.CreateBitCast(A.Start, PtrArithTy0, "bc"); in addRuntimeChecks()
1862 Value *Start1 = ChkBuilder.CreateBitCast(B.Start, PtrArithTy1, "bc"); in addRuntimeChecks()
1863 Value *End0 = ChkBuilder.CreateBitCast(A.End, PtrArithTy1, "bc"); in addRuntimeChecks()
1864 Value *End1 = ChkBuilder.CreateBitCast(B.End, PtrArithTy0, "bc"); in addRuntimeChecks()
1866 Value *Cmp0 = ChkBuilder.CreateICmpULE(Start0, End1, "bound0"); in addRuntimeChecks()
1868 Value *Cmp1 = ChkBuilder.CreateICmpULE(Start1, End0, "bound1"); in addRuntimeChecks()
1870 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
1874 ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, "conflict.rdx"); in addRuntimeChecks()
1888 ChkBuilder.Insert(Check, "memcheck.conflict"); in addRuntimeChecks()