/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 25 /// are any bits set in the constant that are not demanded. If so, shrink the 28 APInt Demanded) { 36 // If there are no bits set that aren't demanded, nothing to do. 37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); 38 if ((~Demanded & OpC->getValue()) == 0) 41 // This instruction is producing bits that are not demanded. Shrink the RHS. 42 Demanded &= OpC->getValue(); 43 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); 80 /// value based on the demanded bits. When this function is called, it is know [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 27 /// constant that are not demanded. If so, shrink the constant and return true. 29 APInt Demanded) { 37 // If there are no bits set that aren't demanded, nothing to do. 38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); 39 if ((~Demanded & OpC->getValue()) == 0) 42 // This instruction is producing bits that are not demanded. Shrink the RHS. 43 Demanded &= OpC->getValue(); 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); 82 /// demanded bits. When this function is called, it is known that only the bit [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Target/ |
TargetLowering.h | [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Target/ |
TargetLowering.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Target/ |
TargetLowering.h | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
DAGCombiner.cpp | 123 APInt Demanded = APInt::getAllOnesValue(BitWidth); 124 return SimplifyDemandedBits(Op, Demanded); 127 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded); 643 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &Demanded) { 646 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | 339 /// constant that are not demanded. If so, shrink the constant and return true. 341 const APInt &Demanded) { 354 (C->getAPIntValue() | (~Demanded)).isAllOnesValue()) 358 if (C->getAPIntValue().intersects(~Demanded)) { 361 DAG.getConstant(Demanded & 379 const APInt &Demanded, 398 unsigned DemandedSize = BitWidth - Demanded.countLeadingZeros(); 498 // If all of the demanded bits are known one on one side, return the other. 504 // If all of the demanded bits in the inputs are known zeros, return zero. 529 // If all of the demanded bits are known zero on one side, return the other [all...] |
DAGCombiner.cpp | 185 APInt Demanded = APInt::getAllOnesValue(BitWidth); 186 return SimplifyDemandedBits(Op, Demanded); 189 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded); [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUISelLowering.cpp | [all...] |
SIISelLowering.cpp | [all...] |