/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 673 unsigned OldValRes, unsigned SuccessRes, unsigned Addr, unsigned CmpVal, in buildAtomicCmpXchgWithSuccess() argument 679 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchgWithSuccess() 694 .addUse(CmpVal) in buildAtomicCmpXchgWithSuccess() 701 unsigned CmpVal, unsigned NewVal, in buildAtomicCmpXchg() argument 706 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchg() 719 .addUse(CmpVal) in buildAtomicCmpXchg()
|
D | LegalizerHelper.cpp | 937 unsigned CmpVal = MI.getOperand(3).getReg(); in lower() local 939 MIRBuilder.buildAtomicCmpXchg(OldValRes, Addr, CmpVal, NewVal, in lower() 941 MIRBuilder.buildICmp(CmpInst::ICMP_EQ, SuccessRes, OldValRes, CmpVal); in lower()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2027 uint64_t Mask, uint64_t CmpVal, in getTestUnderMaskCond() argument 2046 if (CmpVal == 0) { in getTestUnderMaskCond() 2052 if (EffectivelyUnsigned && CmpVal > 0 && CmpVal <= Low) { in getTestUnderMaskCond() 2058 if (EffectivelyUnsigned && CmpVal < Low) { in getTestUnderMaskCond() 2066 if (CmpVal == Mask) { in getTestUnderMaskCond() 2072 if (EffectivelyUnsigned && CmpVal >= Mask - Low && CmpVal < Mask) { in getTestUnderMaskCond() 2078 if (EffectivelyUnsigned && CmpVal > Mask - Low && CmpVal <= Mask) { in getTestUnderMaskCond() 2086 if (EffectivelyUnsigned && CmpVal >= Mask - High && CmpVal < High) { in getTestUnderMaskCond() 2092 if (EffectivelyUnsigned && CmpVal > Mask - High && CmpVal <= High) { in getTestUnderMaskCond() 2102 if (CCMask == SystemZ::CCMASK_CMP_EQ && CmpVal == Low) in getTestUnderMaskCond() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 1880 uint64_t Mask, uint64_t CmpVal, in getTestUnderMaskCond() argument 1899 if (CmpVal == 0) { in getTestUnderMaskCond() 1905 if (EffectivelyUnsigned && CmpVal > 0 && CmpVal <= Low) { in getTestUnderMaskCond() 1911 if (EffectivelyUnsigned && CmpVal < Low) { in getTestUnderMaskCond() 1919 if (CmpVal == Mask) { in getTestUnderMaskCond() 1925 if (EffectivelyUnsigned && CmpVal >= Mask - Low && CmpVal < Mask) { in getTestUnderMaskCond() 1931 if (EffectivelyUnsigned && CmpVal > Mask - Low && CmpVal <= Mask) { in getTestUnderMaskCond() 1939 if (EffectivelyUnsigned && CmpVal >= Mask - High && CmpVal < High) { in getTestUnderMaskCond() 1945 if (EffectivelyUnsigned && CmpVal > Mask - High && CmpVal <= High) { in getTestUnderMaskCond() 1955 if (CCMask == SystemZ::CCMASK_CMP_EQ && CmpVal == Low) in getTestUnderMaskCond() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MachineIRBuilder.h | 738 unsigned Addr, unsigned CmpVal, unsigned NewVal, 756 unsigned CmpVal, unsigned NewVal,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1383 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 1388 CmpVal, VAddr, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP() 1401 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 1403 CmpVal, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 3437 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst() local 3439 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst() 3441 unsigned CmpVal = ValToCheck.countTrailingZeros() - 1; in visitICmpInst() local 3443 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst() 3481 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst() local 3483 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst() 3485 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst() local 3487 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst() 4221 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in visitICmpInst() local 4222 return new ICmpInst(Pred, Xor, Builder->getInt(CmpVal)); in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 218 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt() local 262 .addFPImm(cast<ConstantFP>(ConstantFP::get(Ty, CmpVal))); in LowerFPToInt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1787 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 1792 CmpVal, VAddr, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP() 1805 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 1807 CmpVal, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1969 unsigned CmpVal = Op0KnownZeroInverted.countTrailingZeros(); in visitICmpInst() local 1971 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst() 2006 unsigned CmpVal = Op0KnownZeroInverted.countTrailingZeros(); in visitICmpInst() local 2008 ConstantInt::get(X->getType(), CmpVal)); in visitICmpInst()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1159 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress() local 1163 Value *Cmp = IRB.CreateICmpNE(ShadowValue, CmpVal); in instrumentAddress()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 3562 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality() local 3563 return new ICmpInst(NewPred, Xor, Builder.getInt(CmpVal)); in foldICmpEquality() 4348 unsigned CmpVal = CI->countTrailingZeros(); in foldICmpUsingKnownBits() local 4350 return new ICmpInst(NewPred, X, ConstantInt::get(X->getType(), CmpVal)); in foldICmpUsingKnownBits()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1181 unsigned CmpVal = MI->getOperand(2).getReg(); in EmitAtomicCmpSwapPartword() local 1255 .addReg(CmpVal).addImm(MaskImm); in EmitAtomicCmpSwapPartword()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1546 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress() local 1550 Value *Cmp = IRB.CreateICmpNE(ShadowValue, CmpVal); in instrumentAddress()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1497 unsigned CmpVal = MI.getOperand(2).getReg(); in emitAtomicCmpSwapPartword() local 1588 .addReg(CmpVal).addImm(MaskImm); in emitAtomicCmpSwapPartword()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1778 unsigned CmpVal = MI.getOperand(2).getReg(); in emitAtomicCmpSwapPartword() local 1856 .addReg(CmpVal).addImm(MaskImm); in emitAtomicCmpSwapPartword()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 3109 static bool isUndefOrEqual(int Val, int CmpVal) { in isUndefOrEqual() argument 3110 if (Val < 0 || Val == CmpVal) in isUndefOrEqual()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4215 static bool isUndefOrEqual(int Val, int CmpVal) { in isUndefOrEqual() argument 4216 return (Val < 0 || Val == CmpVal); in isUndefOrEqual()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4824 static bool isUndefOrEqual(int Val, int CmpVal) { in isUndefOrEqual() argument 4825 return ((Val == SM_SentinelUndef) || (Val == CmpVal)); in isUndefOrEqual()
|