/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 736 Register OldValRes, Register SuccessRes, Register Addr, Register CmpVal, in buildAtomicCmpXchgWithSuccess() argument 742 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchgWithSuccess() 757 .addUse(CmpVal) in buildAtomicCmpXchgWithSuccess() 764 Register CmpVal, Register NewVal, in buildAtomicCmpXchg() argument 769 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchg() 782 .addUse(CmpVal) in buildAtomicCmpXchg()
|
D | LegalizerHelper.cpp | 2062 Register CmpVal = MI.getOperand(3).getReg(); in lower() local 2064 MIRBuilder.buildAtomicCmpXchg(OldValRes, Addr, CmpVal, NewVal, in lower() 2066 MIRBuilder.buildICmp(CmpInst::ICMP_EQ, SuccessRes, OldValRes, CmpVal); in lower()
|
/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/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 765 Register OldValRes, Register SuccessRes, Register Addr, Register CmpVal, in buildAtomicCmpXchgWithSuccess() argument 771 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchgWithSuccess() 786 .addUse(CmpVal) in buildAtomicCmpXchgWithSuccess() 793 Register CmpVal, Register NewVal, in buildAtomicCmpXchg() argument 798 LLT CmpValTy = getMRI()->getType(CmpVal); in buildAtomicCmpXchg() 811 .addUse(CmpVal) in buildAtomicCmpXchg()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2286 uint64_t Mask, uint64_t CmpVal, in getTestUnderMaskCond() argument 2305 if (CmpVal == 0) { in getTestUnderMaskCond() 2311 if (EffectivelyUnsigned && CmpVal > 0 && CmpVal <= Low) { in getTestUnderMaskCond() 2317 if (EffectivelyUnsigned && CmpVal < Low) { in getTestUnderMaskCond() 2325 if (CmpVal == Mask) { in getTestUnderMaskCond() 2331 if (EffectivelyUnsigned && CmpVal >= Mask - Low && CmpVal < Mask) { in getTestUnderMaskCond() 2337 if (EffectivelyUnsigned && CmpVal > Mask - Low && CmpVal <= Mask) { in getTestUnderMaskCond() 2345 if (EffectivelyUnsigned && CmpVal >= Mask - High && CmpVal < High) { in getTestUnderMaskCond() 2351 if (EffectivelyUnsigned && CmpVal > Mask - High && CmpVal <= High) { in getTestUnderMaskCond() 2361 if (CCMask == SystemZ::CCMASK_CMP_EQ && CmpVal == Low) in getTestUnderMaskCond() [all …]
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2326 uint64_t Mask, uint64_t CmpVal, in getTestUnderMaskCond() argument 2345 if (CmpVal == 0) { in getTestUnderMaskCond() 2351 if (EffectivelyUnsigned && CmpVal > 0 && CmpVal <= Low) { in getTestUnderMaskCond() 2357 if (EffectivelyUnsigned && CmpVal < Low) { in getTestUnderMaskCond() 2365 if (CmpVal == Mask) { in getTestUnderMaskCond() 2371 if (EffectivelyUnsigned && CmpVal >= Mask - Low && CmpVal < Mask) { in getTestUnderMaskCond() 2377 if (EffectivelyUnsigned && CmpVal > Mask - Low && CmpVal <= Mask) { in getTestUnderMaskCond() 2385 if (EffectivelyUnsigned && CmpVal >= Mask - High && CmpVal < High) { in getTestUnderMaskCond() 2391 if (EffectivelyUnsigned && CmpVal > Mask - High && CmpVal <= High) { in getTestUnderMaskCond() 2401 if (CCMask == SystemZ::CCMASK_CMP_EQ && CmpVal == Low) in getTestUnderMaskCond() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 217 Value *AlignedAddr, Value *CmpVal,
|
D | RISCVISelLowering.cpp | 2866 Value *CmpVal, Value *NewVal, Value *Mask, AtomicOrdering Ord) const { in emitMaskedAtomicCmpXchgIntrinsic() argument 2871 CmpVal = Builder.CreateSExt(CmpVal, Builder.getInt64Ty()); in emitMaskedAtomicCmpXchgIntrinsic() 2880 MaskedCmpXchg, {AlignedAddr, CmpVal, NewVal, Mask, Ordering}); in emitMaskedAtomicCmpXchgIntrinsic()
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 231 Value *AlignedAddr, Value *CmpVal,
|
D | RISCVISelLowering.cpp | 3577 Value *CmpVal, Value *NewVal, Value *Mask, AtomicOrdering Ord) const { in emitMaskedAtomicCmpXchgIntrinsic() argument 3582 CmpVal = Builder.CreateSExt(CmpVal, Builder.getInt64Ty()); in emitMaskedAtomicCmpXchgIntrinsic() 3591 MaskedCmpXchg, {AlignedAddr, CmpVal, NewVal, Mask, Ordering}); in emitMaskedAtomicCmpXchgIntrinsic()
|
/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-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MachineIRBuilder.h | 984 Register Addr, Register CmpVal, Register NewVal, 1002 Register CmpVal, Register NewVal,
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MachineIRBuilder.h | 1126 Register Addr, Register CmpVal, Register NewVal, 1144 Register CmpVal, Register NewVal,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 2169 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 2174 CmpVal, VAddr, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP() 2187 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 2189 CmpVal, SRsrc, SOffset, Offset, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP()
|
D | AMDGPULegalizerInfo.cpp | 1783 Register CmpVal = MI.getOperand(2).getReg(); in legalizeAtomicCmpXChg() local 1790 LLT ValTy = MRI.getType(CmpVal); in legalizeAtomicCmpXChg() 1794 Register PackedVal = B.buildBuildVector(VecTy, { NewVal, CmpVal }).getReg(0); in legalizeAtomicCmpXChg()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 2397 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 2403 CmpVal, VAddr, SRsrc, SOffset, Offset, GLC, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP() 2416 SDValue CmpVal = Mem->getOperand(2); in SelectATOMIC_CMP_SWAP() local 2419 CmpVal, SRsrc, SOffset, Offset, GLC, SLC, Mem->getChain() in SelectATOMIC_CMP_SWAP()
|
D | AMDGPULegalizerInfo.cpp | 2470 Register CmpVal = MI.getOperand(2).getReg(); in legalizeAtomicCmpXChg() local 2476 LLT ValTy = MRI.getType(CmpVal); in legalizeAtomicCmpXChg() 2479 Register PackedVal = B.buildBuildVector(VecTy, { NewVal, CmpVal }).getReg(0); in legalizeAtomicCmpXChg() 3898 Register CmpVal; in legalizeBufferAtomic() local 3901 CmpVal = MI.getOperand(3 + OpOffset).getReg(); in legalizeBufferAtomic() 3939 MIB.addReg(CmpVal); in legalizeBufferAtomic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 363 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt() local 404 .addFPImm(cast<ConstantFP>(ConstantFP::get(Ty, CmpVal))); in LowerFPToInt()
|
/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/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 353 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt() local 394 .addFPImm(cast<ConstantFP>(ConstantFP::get(Ty, CmpVal))); in LowerFPToInt()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4324 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality() local 4325 return new ICmpInst(NewPred, Xor, Builder.getInt(CmpVal)); in foldICmpEquality() 5122 unsigned CmpVal = CI->countTrailingZeros(); in foldICmpUsingKnownBits() local 5124 return new ICmpInst(NewPred, X, ConstantInt::get(X->getType(), CmpVal)); in foldICmpUsingKnownBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4254 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality() local 4255 return new ICmpInst(NewPred, Xor, Builder.getInt(CmpVal)); in foldICmpEquality() 5057 unsigned CmpVal = CI->countTrailingZeros(); in foldICmpUsingKnownBits() local 5059 return new ICmpInst(NewPred, X, ConstantInt::get(X->getType(), CmpVal)); in foldICmpUsingKnownBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1700 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress() local 1704 Value *Cmp = IRB.CreateICmpNE(ShadowValue, CmpVal); in instrumentAddress()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1687 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress() local 1691 Value *Cmp = IRB.CreateICmpNE(ShadowValue, CmpVal); in instrumentAddress()
|