Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp257 int FirstFalseElement = Undefined, SecondFalseElement = Undefined; in FoldCmpLoadFromIndexedGlobal() local
327 if (FirstFalseElement == Undefined) in FoldCmpLoadFromIndexedGlobal()
328 FirstFalseElement = FalseRangeEnd = i; // First false element. in FoldCmpLoadFromIndexedGlobal()
393 if (FirstFalseElement == Undefined) in FoldCmpLoadFromIndexedGlobal()
396 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
427 assert(FalseRangeEnd != FirstFalseElement && "Should emit single compare"); in FoldCmpLoadFromIndexedGlobal()
429 if (FirstFalseElement) { in FoldCmpLoadFromIndexedGlobal()
430 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
435 FalseRangeEnd-FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp292 int FirstFalseElement = Undefined, SecondFalseElement = Undefined; in FoldCmpLoadFromIndexedGlobal() local
362 if (FirstFalseElement == Undefined) in FoldCmpLoadFromIndexedGlobal()
363 FirstFalseElement = FalseRangeEnd = i; // First false element. in FoldCmpLoadFromIndexedGlobal()
430 if (FirstFalseElement == Undefined) in FoldCmpLoadFromIndexedGlobal()
433 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
464 assert(FalseRangeEnd != FirstFalseElement && "Should emit single compare"); in FoldCmpLoadFromIndexedGlobal()
466 if (FirstFalseElement) { in FoldCmpLoadFromIndexedGlobal()
467 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
472 FalseRangeEnd-FirstFalseElement); in FoldCmpLoadFromIndexedGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp235 int FirstFalseElement = Undefined, SecondFalseElement = Undefined; in foldCmpLoadFromIndexedGlobal() local
305 if (FirstFalseElement == Undefined) in foldCmpLoadFromIndexedGlobal()
306 FirstFalseElement = FalseRangeEnd = i; // First false element. in foldCmpLoadFromIndexedGlobal()
373 if (FirstFalseElement == Undefined) in foldCmpLoadFromIndexedGlobal()
376 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement); in foldCmpLoadFromIndexedGlobal()
407 assert(FalseRangeEnd != FirstFalseElement && "Should emit single compare"); in foldCmpLoadFromIndexedGlobal()
409 if (FirstFalseElement) { in foldCmpLoadFromIndexedGlobal()
410 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal()
415 FalseRangeEnd-FirstFalseElement); in foldCmpLoadFromIndexedGlobal()