Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp93 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
104 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
109 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
H A DNVPTXLowerArgs.cpp175 LI->setOperand(0, I.NewParam); in convertToParamAS()
327 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp365 DivInst->setOperand(0, FrX); in optimizeDivRem()
366 Sub->setOperand(0, FrX); in optimizeDivRem()
372 DivInst->setOperand(1, FrY); in optimizeDivRem()
373 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DTailRecursionElimination.cpp692 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
764 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
767 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
781 RI->setOperand(0, SI); in cleanupAndFinalize()
791 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp280 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
545 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree()
704 Op->setOperand(0, NewLHS); in RewriteExprTree()
710 Op->setOperand(1, NewRHS); in RewriteExprTree()
735 Op->setOperand(1, NewRHS); in RewriteExprTree()
771 Op->setOperand(0, NewOp); in RewriteExprTree()
835 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
836 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1079 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul()
2118 Negatible->setOperand(0, ConstantFP::get(Negatible->getType(), abs(*C))); in canonicalizeNegFPConstantsForOp()
[all …]
H A DInferAddressSpaces.cpp1064 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
1138 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1139 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1147 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1148 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
H A DDCE.cpp102 I->setOperand(i, nullptr); in DCEInstruction()
H A DConstantHoisting.cpp735 Inst->setOperand(Idx, IncomingVal); in updateOperand()
741 Inst->setOperand(Idx, Mat); in updateOperand()
798 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp658 Ext->setOperand(0, Current); in applyExts()
1018 GEP->setOperand(I, NewIdx); in splitGEP()
1353 First->setOperand(1, Offset2); in swapGEPOperand()
1354 Second->setOperand(1, Offset1); in swapGEPOperand()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperandTraits.h113 inline void setOperand(unsigned, VALUECLASS*); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
H A DGlobalIndirectSymbol.h50 setOperand(0, Symbol); in setIndirectSymbol()
H A DUser.h174 void setOperand(unsigned i, Value *Val) { in setOperand() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp531 setOperand(Op++, MD); in MDNode()
533 setOperand(Op++, MD); in MDNode()
710 setOperand(I, nullptr); in dropAllReferences()
723 setOperand(Op, New); in handleChangedOperand()
731 setOperand(Op, New); in handleChangedOperand()
756 setOperand(O, nullptr); in handleChangedOperand()
882 setOperand(I, New); in replaceOperandWith()
889 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1132 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DUser.cpp32 setOperand(i, To); in replaceUsesOfWith()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h306 setOperand(0, DMA);
343 setOperand(0, DMA);
401 setOperand(1, MA);
415 setOperand(1, nullptr);
541 setOperand(I, V);
603 setOperand(E - 1, nullptr);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp353 I->getUser()->setOperand(I->getOperandNo(), Shuffle); in tryInterleave()
363 cast<Instruction>(Shuf)->setOperand(0, I); in tryInterleave()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp156 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant( in applyDebugifyMetadataToMachineFunction()
H A DTypePromotion.cpp537 I->setOperand(i, NewConst); in PromoteTree()
539 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree()
604 I->setOperand(i, Trunc); in TruncateSinks()
H A DCodeGenPrepare.cpp2718 Inst->setOperand(Idx, NewVal); in OperandSetter()
2726 Inst->setOperand(Idx, Origin); in undo()
2910 Use.Inst->setOperand(Use.Idx, Inst); in undo()
4364 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther()
4423 TPT.setOperand(ExtForOpnd, 0, Opnd); in promoteOperandForOther()
4427 TPT.setOperand(ExtOpnd, OpIdx, ExtForOpnd); in promoteOperandForOther()
6125 U->setOperand(0, in optimizePhiType()
6565 NewAnd->setOperand(0, Load); in optimizeLoadExt()
7701 UGEPI->setOperand(0, GEPI); in tryUnmergingGEPsAcrossIndirectBr()
7706 UGEPI->setOperand(1, NewUGEPIIdx); in tryUnmergingGEPsAcrossIndirectBr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp114 U->setOperand(OpNo, V); in connectToSink()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp967 CI->setOperand(0, ConstantPointerNull::get(NewTy)); in handleAlloca()
970 CI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
990 SI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
993 SI->setOperand(2, ConstantPointerNull::get(NewTy)); in handleAlloca()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp94 PN->setOperand(I, NewInst); in replaceConstantExprOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp545 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
613 I->setOperand( in getShiftedValue()
615 I->setOperand( in getShiftedValue()
625 I->setOperand( in getShiftedValue()
627 I->setOperand( in getShiftedValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp102 Info.UsedInst->setOperand(Info.OpIdx, CI); in insertPassThrough()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp261 Second->setOperand(i, BoolToIntMap[First->getOperand(i)]); in runOnUse()

1234