Searched refs:allocaInst (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp71 if (auto allocaInst = dyn_cast<AllocaInst>(&I)) {
73 auto ETy = cast<PointerType>(allocaInst->getType())->getElementType();
75 auto NewASCToLocal = new AddrSpaceCastInst(allocaInst, LocalAddrTy, "");
79 NewASCToLocal->insertAfter(allocaInst);
81 for (Value::use_iterator UI = allocaInst->use_begin(),
82 UE = allocaInst->use_end();
91 if (LI && LI->getPointerOperand() == allocaInst &&
97 if (SI && SI->getPointerOperand() == allocaInst &&
103 if (GI && GI->getPointerOperand() == allocaInst) {
108 if (BI && BI->getOperand(0) == allocaInst) {
[all...]
H A DNVPTXAllocaHoisting.cpp47 AllocaInst *allocaInst = dyn_cast<AllocaInst>(BI++); local
48 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) {
49 allocaInst->moveBefore(firstTerminatorInst);

Completed in 100 milliseconds