| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 203 return DL.getTypeStoreSize(CASI->getCompareOperand()->getType()); in getAtomicOpSize() 306 if (CASI->getCompareOperand()->getType()->isPointerTy()) { in processAtomicInstr() 1094 Value *Cmp = CI->getCompareOperand(); in expandPartwordCmpXchg() 1114 createMaskInstrs(Builder, CI, CI->getCompareOperand()->getType(), Addr, in expandPartwordCmpXchg() 1225 Builder, CI, CI->getCompareOperand()->getType(), CI->getPointerOperand(), in expandAtomicCmpXchgToMaskedIntrinsic() 1229 Builder.CreateZExt(CI->getCompareOperand(), PMV.WordType), PMV.ShiftAmt, in expandAtomicCmpXchgToMaskedIntrinsic() 1306 Type *NewTy = getCorrespondingIntegerType(CI->getCompareOperand()->getType(), in convertCmpXchgToIntegerType() 1313 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() 1326 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType() 1442 createMaskInstrs(Builder, CI, CI->getCompareOperand()->getType(), Addr, in expandAtomicCmpXchg() [all …]
|
| H A D | CodeGenPrepare.cpp | 5596 MemoryUses.push_back({&U, CmpX->getCompareOperand()->getType()}); in FindAllMemoryUses() 8788 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerAtomic.cpp | 25 Value *Cmp = CXI->getCompareOperand(); in lowerAtomicCmpXchgInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 213 getBoundsCheckCond(AI->getPointerOperand(), AI->getCompareOperand(), in addBoundsChecking()
|
| H A D | MemProfInstrumentation.cpp | 319 Access.AccessTy = XCHG->getCompareOperand()->getType(); in isInterestingMemoryAccess()
|
| H A D | ThreadSanitizer.cpp | 774 IRB.CreateBitOrPointerCast(CASI->getCompareOperand(), Ty); in instrumentAtomic()
|
| H A D | HWAddressSanitizer.cpp | 886 XCHG->getCompareOperand()->getType(), in getInterestingMemoryOperands()
|
| H A D | AddressSanitizer.cpp | 1496 XCHG->getCompareOperand()->getType(), in getInterestingMemoryOperands()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 63 CXI->getCompareOperand()->getType())), in get()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 126 return {AI->getPointerOperand(), AI->getCompareOperand()->getType()}; in getMemoryInstrPtrAndType()
|
| H A D | AMDGPUAsanInstrumentation.cpp | 235 XCHG->getCompareOperand()->getType(), in getInterestingMemoryOperands()
|
| H A D | AMDGPULowerBufferFatPointers.cpp | 1852 {AI.getNewValOperand(), AI.getCompareOperand(), Rsrc, in visitAtomicCmpXchgInst() 1862 Value *Succeeded = IRB.CreateICmpEQ(Call, AI.getCompareOperand()); in visitAtomicCmpXchgInst()
|
| H A D | AMDGPUSwLowerLDS.cpp | 725 Replacement, XCHG->getCompareOperand(), XCHG->getNewValOperand(), in translateLDSMemoryOperationsToGlobalMemory()
|
| H A D | SIISelLowering.cpp | 17834 buildCmpXchgValue(Builder, CastToPrivate, CX->getCompareOperand(), in emitExpandAtomicAddrSpacePredicate()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 2173 LLVM_ABI Value *getCompareOperand(); 2174 const Value *getCompareOperand() const { in getCompareOperand() function 2175 return const_cast<AtomicCmpXchgInst *>(this)->getCompareOperand(); in getCompareOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 1317 Value *AtomicCmpXchgInst::getCompareOperand() { in getCompareOperand() function in llvm::sandboxir::AtomicCmpXchgInst 1318 return Ctx.getValue(cast<llvm::AtomicCmpXchgInst>(Val)->getCompareOperand()); in getCompareOperand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 638 Value *getCompareOperand() { return getOperand(1); } 639 const Value *getCompareOperand() const { return getOperand(1); }
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2471 if (X == CmpXchg && X->getCompareOperand() == SI.getFalseValue()) in foldSelectCmpXchg() 2478 if (X == CmpXchg && X->getCompareOperand() == SI.getTrueValue()) in foldSelectCmpXchg()
|
| H A D | InstCombineCompares.cpp | 7890 if (EVI->getIndices()[0] == 0 && ACXI->getCompareOperand() == Op1 && in visitICmpInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 6284 (cast<IntegerType>(CI->getCompareOperand()->getType())->getBitWidth() < in shouldInsertFencesForAtomic() 6294 cast<IntegerType>(CI->getCompareOperand()->getType())->getBitWidth() >= in atomicOperationOrderAfterFenceSplit() 6325 dyn_cast<AtomicCmpXchgInst>(Inst)->getCompareOperand()->getType()) in emitTrailingFence()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 3366 Register Cmp = getOrCreateVReg(*I.getCompareOperand()); in translateAtomicCmpXchg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 5076 Register DesiredReg = getRegForValue(I->getCompareOperand()); in selectAtomicCmpXchg()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 5134 MVT MemVT = getValue(I.getCompareOperand()).getSimpleValueType(); in visitAtomicCmpXchg() 5149 getValue(I.getCompareOperand()), in visitAtomicCmpXchg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 7927 unsigned Size = CI->getCompareOperand()->getType()->getPrimitiveSizeInBits(); in shouldExpandAtomicCmpXchgInIR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 1890 {CXI->getCompareOperand(), CXI->getNewValOperand()}, in updateImpl()
|