Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp2042 Value *CompVal = 0; in SimplifyBranchOnICmpChain() local
2049 CompVal = GatherConstantCompares(Cond, Values, ExtraCase, TD, true, in SimplifyBranchOnICmpChain()
2052 CompVal = GatherConstantCompares(Cond, Values, ExtraCase, TD, false, in SimplifyBranchOnICmpChain()
2058 if (CompVal == 0) return false; in SimplifyBranchOnICmpChain()
2110 if (CompVal->getType()->isPointerTy()) { in SimplifyBranchOnICmpChain()
2112 CompVal = Builder.CreatePtrToInt(CompVal, in SimplifyBranchOnICmpChain()
2113 TD->getIntPtrType(CompVal->getContext()), in SimplifyBranchOnICmpChain()
2118 SwitchInst *New = Builder.CreateSwitch(CompVal, DefaultBB, Values.size()); in SimplifyBranchOnICmpChain()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp458 NonLoc CompVal = in evalIntegralCast() local
461 std::tie(IsNotTruncated, IsTruncated) = state->assume(CompVal); in evalIntegralCast()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3265 Value *CompVal = ConstantCompare.CompValue; in SimplifyBranchOnICmpChain() local
3270 if (!CompVal) in SimplifyBranchOnICmpChain()
3332 if (CompVal->getType()->isPointerTy()) { in SimplifyBranchOnICmpChain()
3333 CompVal = Builder.CreatePtrToInt( in SimplifyBranchOnICmpChain()
3334 CompVal, DL.getIntPtrType(CompVal->getType()), "magicptr"); in SimplifyBranchOnICmpChain()
3338 SwitchInst *New = Builder.CreateSwitch(CompVal, DefaultBB, Values.size()); in SimplifyBranchOnICmpChain()