Home
last modified time | relevance | path

Searched refs:getValOperand (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp25 if (auto CF = dyn_cast<ConstantFP>(RMWI.getValOperand())) in isIdempotentRMW()
35 auto C = dyn_cast<ConstantInt>(RMWI.getValOperand()); in isIdempotentRMW()
63 if (auto CF = dyn_cast<ConstantFP>(RMWI.getValOperand())) in isSaturating()
78 auto C = dyn_cast<ConstantInt>(RMWI.getValOperand()); in isSaturating()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp198 return DL.getTypeStoreSize(RMWI->getValOperand()->getType()); in getAtomicOpSize()
503 Value *Val = RMWI->getValOperand(); in convertAtomicXchgToIntegerType()
689 AI->getValOperand()); in tryExpandAtomicRMW()
992 Value *ValOp = Builder.CreateBitCast(AI->getValOperand(), PMV.IntValueType); in expandPartwordAtomicRMW()
1000 AI->getValOperand(), PMV); in expandPartwordAtomicRMW()
1034 Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType), in widenPartwordAtomicRMW()
1210 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
1585 auto C = dyn_cast<ConstantInt>(RMWI->getValOperand()); in isIdempotentRMW()
1719 AI->getValOperand()); in expandAtomicRMWToCmpXchg()
1864 I, Size, I->getAlign(), I->getPointerOperand(), I->getValOperand(), in expandAtomicRMWToLibcall()
H A DStackProtector.cpp291 if (AI == cast<AtomicRMWInst>(I)->getValOperand()) in HasAddressTaken()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp131 Value *Val = RMWI->getValOperand(); in lowerAtomicRMWInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp217 Or = getBoundsCheckCond(AI->getPointerOperand(), AI->getValOperand(), in addBoundsChecking()
H A DThreadSanitizer.cpp749 getMemoryAccessFuncIndex(RMWI->getValOperand()->getType(), Addr, DL); in instrumentAtomic()
758 Value *Val = RMWI->getValOperand(); in instrumentAtomic()
H A DMemProfInstrumentation.cpp313 Access.AccessTy = RMW->getValOperand()->getType(); in isInterestingMemoryAccess()
H A DHWAddressSanitizer.cpp881 RMW->getValOperand()->getType(), std::nullopt); in getInterestingMemoryOperands()
H A DAddressSanitizer.cpp1491 RMW->getValOperand()->getType(), std::nullopt); in getInterestingMemoryOperands()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp72 RMWI->getValOperand()->getType())), in get()
H A DStackSafetyAnalysis.cpp473 RecordStore(cast<AtomicRMWInst>(I)->getValOperand()); in analyzeAllUses()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp128 return {AI->getPointerOperand(), AI->getValOperand()->getType()}; in getMemoryInstrPtrAndType()
H A DAMDGPUAsanInstrumentation.cpp232 RMW->getValOperand()->getType(), std::nullopt); in getInterestingMemoryOperands()
H A DAMDGPUSwLowerLDS.cpp710 Value *RMWValOperand = RMW->getValOperand(); in translateLDSMemoryOperationsToGlobalMemory()
H A DAMDGPULowerBufferFatPointers.cpp1822 Value *Arg = AI.getValOperand(); in visitAtomicRMWInst()
H A DSIISelLowering.cpp17320 if (Constant *ConstVal = dyn_cast<Constant>(RMW->getValOperand()); in shouldExpandAtomicRMWInIR()
17829 LoadedPrivate, RMW->getValOperand()); in emitExpandAtomicAddrSpacePredicate()
17892 if (const auto *ConstVal = dyn_cast<Constant>(AI->getValOperand()); in emitExpandAtomicRMW()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h2100 LLVM_ABI Value *getValOperand();
2101 const Value *getValOperand() const { in getValOperand() function
2102 return const_cast<AtomicRMWInst *>(this)->getValOperand(); in getValOperand()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp1290 Value *AtomicRMWInst::getValOperand() { in getValOperand() function in llvm::sandboxir::AtomicRMWInst
1291 return Ctx.getValue(cast<llvm::AtomicRMWInst>(Val)->getValOperand()); in getValOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2404 (RMWI->getValOperand()->getType()->isFloatingPointTy() || in shouldCastAtomicRMWIInIR()
2405 RMWI->getValOperand()->getType()->isPointerTy())) in shouldCastAtomicRMWIInIR()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h890 Value *getValOperand() { return getOperand(1); }
891 const Value *getValOperand() const { return getOperand(1); }
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp7812 Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), WordType), in emitExpandAtomicRMW()
7963 isa<ConstantInt>(AI->getValOperand())) { in emitMaskedAtomicRMWIntrinsic()
7964 ConstantInt *CVal = cast<ConstantInt>(AI->getValOperand()); in emitMaskedAtomicRMWIntrinsic()
7999 DL.getTypeStoreSizeInBits(AI->getValOperand()->getType()); in emitMaskedAtomicRMWIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp621 Value *Op = Ref->getValOperand(); in deduceElementTypeHelper()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp3388 Register Val = getOrCreateVReg(*I.getValOperand()); in translateAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp1885 return HandleStoreLike(*RMWI, nullptr, *RMWI->getValOperand()->getType(), in updateImpl()
1886 {RMWI->getValOperand()}, AccessKind::AK_RW); in updateImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5202 auto MemVT = getValue(I.getValOperand()).getSimpleValueType(); in visitAtomicRMW()
5213 getValue(I.getPointerOperand()), getValue(I.getValOperand()), in visitAtomicRMW()

12