Home
last modified time | relevance | path

Searched refs:UseCall (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1892 auto *UseCall = cast<CallBase>(User); in RemovePreallocated() local
1893 assert(UseCall->getCalledFunction()->getIntrinsicID() == in RemovePreallocated()
1897 cast<ConstantInt>(UseCall->getArgOperand(1))->getZExtValue(); in RemovePreallocated()
1900 auto AddressSpace = UseCall->getType()->getPointerAddressSpace(); in RemovePreallocated()
1902 UseCall->getFnAttr(Attribute::Preallocated).getValueAsType(); in RemovePreallocated()
1911 UseCall->replaceAllUsesWith(AllocaReplacement); in RemovePreallocated()
1912 UseCall->eraseFromParent(); in RemovePreallocated()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp5501 auto *UseCall = dyn_cast<CallBase>(U); in visitIntrinsicCall() local
5502 Check(UseCall != nullptr, in visitIntrinsicCall()
5504 const Function *Fn = UseCall->getCalledFunction(); in visitIntrinsicCall()
5506 auto *AllocArgIndex = dyn_cast<ConstantInt>(UseCall->getArgOperand(1)); in visitIntrinsicCall()
5523 for (unsigned i = 0; i < UseCall->arg_size(); i++) { in visitIntrinsicCall()
5524 if (UseCall->paramHasAttr(i, Attribute::Preallocated)) { in visitIntrinsicCall()
5535 Call, *UseCall); in visitIntrinsicCall()
5539 if (UseCall->countOperandBundlesOfType(LLVMContext::OB_preallocated) > in visitIntrinsicCall()
5544 UseCall->getOperandBundle(LLVMContext::OB_preallocated); in visitIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6265 auto *UseCall = cast<CallBase>(U); in FindPreallocatedCall() local
6266 const Function *Fn = UseCall->getCalledFunction(); in FindPreallocatedCall()
6268 return UseCall; in FindPreallocatedCall()