/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 274 int64_t IncValue; in HandleFloatingPointIV() local 276 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in HandleFloatingPointIV() 342 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in HandleFloatingPointIV() 346 if (IncValue == 0) in HandleFloatingPointIV() 350 if (IncValue > 0) { in HandleFloatingPointIV() 363 unsigned Leftover = Range % uint32_t(IncValue); in HandleFloatingPointIV() 374 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in HandleFloatingPointIV() 390 unsigned Leftover = Range % uint32_t(-IncValue); in HandleFloatingPointIV() 401 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in HandleFloatingPointIV() 413 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in HandleFloatingPointIV()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 265 int64_t IncValue; in handleFloatingPointIV() local 267 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV() 333 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV() 337 if (IncValue == 0) in handleFloatingPointIV() 341 if (IncValue > 0) { in handleFloatingPointIV() 354 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV() 365 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV() 381 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV() 392 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV() 404 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
|
D | LICM.cpp | 528 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplacablePHI() local 529 if (IncValue != &I) in isTriviallyReplacablePHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 306 int64_t IncValue; in handleFloatingPointIV() local 308 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV() 373 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV() 377 if (IncValue == 0) in handleFloatingPointIV() 381 if (IncValue > 0) { in handleFloatingPointIV() 394 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV() 405 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV() 420 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV() 431 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV() 443 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
|
D | LICM.cpp | 694 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplaceablePHI() local 695 if (IncValue != &I) in isTriviallyReplaceablePHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 438 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated() 439 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated() 1314 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd() 1315 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd() 2145 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi() 2146 if (isa<Constant>(IncValue)) in optimizeBitCastFromPhi() 2149 if (auto *LI = dyn_cast<LoadInst>(IncValue)) { in optimizeBitCastFromPhi() 2164 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeBitCastFromPhi() 2170 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi()
|
D | InstCombineShifts.cpp | 185 for (Value *IncValue : PN->incoming_values()) in canEvaluateShifted() 186 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted()
|
D | InstCombinePHI.cpp | 639 for (Value *IncValue : PN.incoming_values()) in FoldPHIArgLoadIntoPHI() 640 cast<LoadInst>(IncValue)->setVolatile(false); in FoldPHIArgLoadIntoPHI()
|
D | InstCombineLoadStoreAlloca.cpp | 818 for (Value *IncValue : PN->incoming_values()) in isObjectSizeLessThanOrEq() 819 Worklist.push_back(IncValue); in isObjectSizeLessThanOrEq()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 143 for (Value *IncValue : PN.incoming_values()) in MergeBlockIntoPredecessor() 144 if (IncValue == &PN) in MergeBlockIntoPredecessor()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 125 for (Value *IncValue : PN->incoming_values()) in MergeBlockIntoPredecessor() 126 if (IncValue == PN) in MergeBlockIntoPredecessor()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 713 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike() 714 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 420 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated() 421 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated() 1105 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd() 1106 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd()
|
D | InstCombineShifts.cpp | 178 for (Value *IncValue : PN->incoming_values()) in CanEvaluateShifted() 179 if (!CanEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in CanEvaluateShifted()
|
D | InstCombinePHI.cpp | 383 for (Value *IncValue : PN.incoming_values()) in FoldPHIArgLoadIntoPHI() 384 cast<LoadInst>(IncValue)->setVolatile(false); in FoldPHIArgLoadIntoPHI()
|
D | InstCombineLoadStoreAlloca.cpp | 639 for (Value *IncValue : PN->incoming_values()) in isObjectSizeLessThanOrEq() 640 Worklist.push_back(IncValue); in isObjectSizeLessThanOrEq()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 845 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike() 846 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1261 for (Value *IncValue : P->incoming_values()) { in computeKnownBitsFromOperator() 1263 if (IncValue == P) continue; in computeKnownBitsFromOperator() 1269 computeKnownBits(IncValue, KnownZero2, KnownOne2, MaxDepth - 1, Q); in computeKnownBitsFromOperator() 2901 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH() 2902 uint64_t Len = GetStringLengthH(IncValue, PHIs); in GetStringLengthH() 3042 for (Value *IncValue : PN->incoming_values()) in GetUnderlyingObjects() 3043 Worklist.push_back(IncValue); in GetUnderlyingObjects()
|
D | BasicAliasAnalysis.cpp | 545 for (Value *IncValue : PN->incoming_values()) in pointsToConstantMemory() 546 Worklist.push_back(IncValue); in pointsToConstantMemory()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1422 for (Value *IncValue : P->incoming_values()) { in computeKnownBitsFromOperator() 1424 if (IncValue == P) continue; in computeKnownBitsFromOperator() 1429 computeKnownBits(IncValue, Known2, MaxDepth - 1, Q); in computeKnownBitsFromOperator() 3345 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH() 3346 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH() 3528 for (Value *IncValue : PN->incoming_values()) in GetUnderlyingObjects() 3529 Worklist.push_back(IncValue); in GetUnderlyingObjects()
|
D | BasicAliasAnalysis.cpp | 628 for (Value *IncValue : PN->incoming_values()) in pointsToConstantMemory() 629 Worklist.push_back(IncValue); in pointsToConstantMemory()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 2280 for (Value *IncValue : PN->incoming_values()) { in findAllocaForValue() 2282 if (IncValue == PN) continue; in findAllocaForValue() 2283 AllocaInst *IncValueAI = findAllocaForValue(IncValue); in findAllocaForValue()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 108 for (Value *IncValue : PN->incoming_values()) in AreAnyUnderlyingObjectsAnAlloca() 109 Worklist.push_back(IncValue); in AreAnyUnderlyingObjectsAnAlloca()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 3127 for (Value *IncValue : PN->incoming_values()) { in findAllocaForValue() 3129 if (IncValue == PN) continue; in findAllocaForValue() 3130 AllocaInst *IncValueAI = findAllocaForValue(IncValue); in findAllocaForValue()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 2486 for (Value *IncValue : PN.incoming_values()) { in visitPHINode() 2487 Assert(PN.getType() == IncValue->getType(), in visitPHINode()
|