Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/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()
325 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp320 DivInst->setOperand(0, FrX); in optimizeDivRem()
321 Sub->setOperand(0, FrX); in optimizeDivRem()
327 DivInst->setOperand(1, FrY); in optimizeDivRem()
328 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DTailRecursionElimination.cpp644 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
716 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
719 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
733 RI->setOperand(0, SI); in cleanupAndFinalize()
743 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()
1058 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1059 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
[all …]
H A DInferAddressSpaces.cpp1055 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
1129 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1130 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1138 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1139 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
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 DDCE.cpp102 I->setOperand(i, nullptr); in DCEInstruction()
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()
/netbsd-src/external/apache2/llvm/dist/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.h51 setOperand(0, Symbol); in setIndirectSymbol()
H A DUser.h174 void setOperand(unsigned i, Value *Val) { in setOperand() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DMetadata.cpp525 setOperand(Op++, MD); in MDNode()
527 setOperand(Op++, MD); in MDNode()
704 setOperand(I, nullptr); in dropAllReferences()
717 setOperand(Op, New); in handleChangedOperand()
725 setOperand(Op, New); in handleChangedOperand()
750 setOperand(O, nullptr); in handleChangedOperand()
876 setOperand(I, New); in replaceOperandWith()
883 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1126 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DUser.cpp32 setOperand(i, To); in replaceUsesOfWith()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemorySSA.h306 setOperand(0, DMA);
342 setOperand(0, DMA);
399 setOperand(1, MA);
413 setOperand(1, nullptr);
537 setOperand(I, V);
599 setOperand(E - 1, nullptr);
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
H A DReduceMetadata.cpp87 NN->setOperand(I, NULL); in extractMetadataFromModule()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2714 Inst->setOperand(Idx, NewVal); in OperandSetter()
2722 Inst->setOperand(Idx, Origin); in undo()
2745 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider()
2753 Inst->setOperand(It, OriginalValues[It]); in undo()
2906 Use.Inst->setOperand(Use.Idx, Inst); in undo()
2986 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal);
3021 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in TypePromotionTransaction
4308 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt()
4360 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther()
4394 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther()
[all …]
H A DTypePromotion.cpp540 I->setOperand(i, NewConst); in PromoteTree()
542 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree()
607 I->setOperand(i, Trunc); in TruncateSinks()
H A DMachineDebugify.cpp156 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant( in applyDebugifyMetadataToMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp114 U->setOperand(OpNo, V); in connectToSink()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp94 PN->setOperand(I, NewInst); in replaceConstantExprOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp102 Info.UsedInst->setOperand(Info.OpIdx, CI); in insertPassThrough()

1234