Home
last modified time | relevance | path

Searched refs:IncValue (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp274 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/
DIndVarSimplify.cpp265 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()
DLICM.cpp528 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/
DIndVarSimplify.cpp306 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()
DLICM.cpp694 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/
DInstCombineCasts.cpp438 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()
DInstCombineShifts.cpp185 for (Value *IncValue : PN->incoming_values()) in canEvaluateShifted()
186 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted()
DInstCombinePHI.cpp639 for (Value *IncValue : PN.incoming_values()) in FoldPHIArgLoadIntoPHI()
640 cast<LoadInst>(IncValue)->setVolatile(false); in FoldPHIArgLoadIntoPHI()
DInstCombineLoadStoreAlloca.cpp818 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/
DBasicBlockUtils.cpp143 for (Value *IncValue : PN.incoming_values()) in MergeBlockIntoPredecessor()
144 if (IncValue == &PN) in MergeBlockIntoPredecessor()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp125 for (Value *IncValue : PN->incoming_values()) in MergeBlockIntoPredecessor()
126 if (IncValue == PN) in MergeBlockIntoPredecessor()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp713 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike()
714 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp420 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()
DInstCombineShifts.cpp178 for (Value *IncValue : PN->incoming_values()) in CanEvaluateShifted()
179 if (!CanEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in CanEvaluateShifted()
DInstCombinePHI.cpp383 for (Value *IncValue : PN.incoming_values()) in FoldPHIArgLoadIntoPHI()
384 cast<LoadInst>(IncValue)->setVolatile(false); in FoldPHIArgLoadIntoPHI()
DInstCombineLoadStoreAlloca.cpp639 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/
DFunctionAttrs.cpp845 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike()
846 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
/external/llvm/lib/Analysis/
DValueTracking.cpp1261 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()
DBasicAliasAnalysis.cpp545 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/
DValueTracking.cpp1422 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()
DBasicAliasAnalysis.cpp628 for (Value *IncValue : PN->incoming_values()) in pointsToConstantMemory()
629 Worklist.push_back(IncValue); in pointsToConstantMemory()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp2280 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/
DObjCARCOpts.cpp108 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/
DAddressSanitizer.cpp3127 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/
DVerifier.cpp2486 for (Value *IncValue : PN.incoming_values()) { in visitPHINode()
2487 Assert(PN.getType() == IncValue->getType(), in visitPHINode()

12