Home
last modified time | relevance | path

Searched refs:setOperand (Results 1 – 25 of 110) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp90 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
96 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
101 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
106 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
H A DNVPTXLowerArgs.cpp177 LI->setOperand(0, I.NewParam); in convertToParamAS()
417 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp386 DivInst->setOperand(0, FrX); in optimizeDivRem()
387 Sub->setOperand(0, FrX); in optimizeDivRem()
393 DivInst->setOperand(1, FrY); in optimizeDivRem()
394 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DTailRecursionElimination.cpp689 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
761 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
764 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
778 RI->setOperand(0, SI); in cleanupAndFinalize()
788 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp287 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
553 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree()
721 Op->setOperand(0, NewLHS); in RewriteExprTree()
727 Op->setOperand(1, NewRHS); in RewriteExprTree()
752 Op->setOperand(1, NewRHS); in RewriteExprTree()
788 Op->setOperand(0, NewOp); in RewriteExprTree()
857 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
858 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1063 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1064 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
[all …]
H A DMergedLoadStoreMotion.cpp262 SNew->setOperand(0, NewPN); in sinkStoresAndGEPs()
272 SNew->setOperand(1, GEPNew); in sinkStoresAndGEPs()
H A DDCE.cpp102 I->setOperand(i, nullptr); in DCEInstruction()
H A DInferAddressSpaces.cpp1147 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
1221 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1222 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1230 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1231 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
H A DConstantHoisting.cpp741 Inst->setOperand(Idx, IncomingVal); in updateOperand()
747 Inst->setOperand(Idx, Mat); in updateOperand()
804 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
830 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp657 Ext->setOperand(0, Current); in applyExts()
1025 GEP->setOperand(I, NewIdx); in splitGEP()
1360 First->setOperand(1, Offset2); in swapGEPOperand()
1361 Second->setOperand(1, Offset1); in swapGEPOperand()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DOperandTraits.h113 inline void setOperand(unsigned, VALUECLASS*); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DMetadata.cpp546 setOperand(Op++, MD); in MDNode()
548 setOperand(Op++, MD); in MDNode()
800 setOperand(I, nullptr); in dropAllReferences()
813 setOperand(Op, New); in handleChangedOperand()
821 setOperand(Op, New); in handleChangedOperand()
846 setOperand(O, nullptr); in handleChangedOperand()
973 setOperand(I, New); in replaceOperandWith()
980 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1223 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DUser.cpp33 setOperand(i, To); in replaceUsesOfWith()
H A DIntrinsicInst.cpp205 setOperand(OpAssignID, MetadataAsValue::get(getContext(), New)); in setAssignId()
211 setOperand(OpAddress, in setAddress()
227 setOperand(OpValue, in setValue()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemorySSA.h297 setOperand(0, DMA);
332 setOperand(0, DMA);
393 setOperand(1, MA);
407 setOperand(1, nullptr);
533 setOperand(I, V);
595 setOperand(E - 1, nullptr);
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp159 II->setOperand(OI, RepMDVal); in runLowerConstExpr()
242 CI->setOperand(1, NewVec); in visitCallScalToVec()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp352 I->getUser()->setOperand(I->getOperandNo(), Shuffle); in tryInterleave()
362 cast<Instruction>(Shuf)->setOperand(0, I); in tryInterleave()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceMetadata.cpp83 NN->setOperand(I, nullptr); in extractMetadataFromModule()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp183 UI->setOperand(Idx, Clone); in sinkScalarOperands()
294 U->setOperand(I, PredInst1); in mergeReplicateRegionsIntoSuccessors()
464 U->setOperand(I, Steps); in optimizeInductions()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp147 BO.setOperand(1, ConstantInt::get(LHS->getType(), C)); in visitAnd()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp160 GEP->setOperand(0, NoOpBitcast); in runOnModule()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineDebugify.cpp153 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant( in applyDebugifyMetadataToMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1045 CI->setOperand(0, ConstantPointerNull::get(NewTy)); in handleAlloca()
1048 CI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
1068 SI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
1071 SI->setOperand(2, ConstantPointerNull::get(NewTy)); in handleAlloca()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp147 U->setOperand(OpNo, V); in connectToSink()
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp93 PN->setOperand(I, NewInst); in replaceConstantExprOp()

12345