Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp218 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in emitLoadCompareByteBlock() local
221 LoadSrc2 = Builder.CreateZExt(LoadSrc2, Type::getInt32Ty(CI->getContext())); in emitLoadCompareByteBlock()
222 Value *Diff = Builder.CreateSub(LoadSrc1, LoadSrc2); in emitLoadCompareByteBlock()
299 Value *LoadSrc2 = nullptr; in getCompareLoadPairs() local
301 LoadSrc2 = ConstantFoldLoadFromConstPtr(Source2C, LoadSizeType, DL); in getCompareLoadPairs()
302 if (!LoadSrc2) in getCompareLoadPairs()
303 LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in getCompareLoadPairs()
308 LoadSrc2 = Builder.CreateZExt(LoadSrc2, MaxLoadType); in getCompareLoadPairs()
312 Diff = Builder.CreateXor(LoadSrc1, LoadSrc2); in getCompareLoadPairs()
317 Cmp = Builder.CreateICmpNE(LoadSrc1, LoadSrc2); in getCompareLoadPairs()
[all …]