| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 92 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 97 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 102 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 107 BI->setOperand(0, NewASCToGeneric); in runOnBasicBlock()
|
| H A D | NVPTXLowerArgs.cpp | 201 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 111 Sel.setOperand(IsEq ? 1 : 2, Y); in foldSelectBinOpIdentity() 820 Cmp.setOperand(0, CmpLHS); in adjustMinMax() 821 Cmp.setOperand(1, CmpRHS); in adjustMinMax() 822 Sel.setOperand(1, TrueVal); in adjustMinMax() 823 Sel.setOperand(2, FalseVal); in adjustMinMax() 922 Cmp.setOperand(0, LHS); in canonicalizeAbsNabs() 1650 SI.setOperand(2, TrueVal); in visitSelectInst() 1925 SI.setOperand(0, And); in visitSelectInst() 1943 SI.setOperand(0, Or); in visitSelectInst() 2007 SI.setOperand(0, NotCond); in visitSelectInst() [all …]
|
| H A D | InstructionCombining.cpp | 277 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc() 326 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 327 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 355 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 356 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 383 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 384 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 403 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 404 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 431 I.setOperand(0, NewBO); in SimplifyAssociativeOrCommutative() [all …]
|
| H A D | InstCombineMulDivRem.cpp | 76 I->setOperand(0, V2); in simplifyValueKnownNonZero() 507 I.setOperand(1, SI->getOperand(NonNullOperand)); in simplifyDivRemOfSelectWithZeroOp() 599 I.setOperand(1, V); in commonIDivTransforms() 715 I.setOperand(0, ConstantInt::get(Ty, 1)); in commonIDivTransforms() 716 I.setOperand(1, Y); in commonIDivTransforms() 1176 I.setOperand(0, X); in visitFDiv() 1177 I.setOperand(1, Y); in visitFDiv() 1186 I.setOperand(0, ConstantFP::get(I.getType(), 1.0)); in visitFDiv() 1187 I.setOperand(1, Y); in visitFDiv() 1203 I.setOperand(1, V); in commonIRemTransforms() [all …]
|
| H A D | InstCombineLoadStoreAlloca.cpp | 192 AI.setOperand(0, V); in simplifyAllocaArraySize() 234 AI.setOperand(0, V); in simplifyAllocaArraySize() 359 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 956 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero() 959 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero() 1085 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 1093 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 1489 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
| H A D | InstCombineShifts.cpp | 61 I.setOperand(1, Rem); in commonShiftTransforms() 209 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift() 283 I->setOperand( in getShiftedValue() 285 I->setOperand( in getShiftedValue() 295 I->setOperand( in getShiftedValue() 297 I->setOperand( in getShiftedValue()
|
| H A D | InstCombineCompares.cpp | 1487 Cmp.setOperand(0, X); in foldICmpXorConstant() 1597 And->setOperand(0, Shift->getOperand(0)); in foldICmpAndShift() 1616 Cmp.setOperand(0, NewAnd); in foldICmpAndShift() 1700 Cmp.setOperand(0, NewAnd); in foldICmpAndConstConst() 2772 Cmp.setOperand(0, II->getArgOperand(0)); in foldICmpIntrinsicWithConstant() 2781 Cmp.setOperand(0, II->getArgOperand(0)); in foldICmpIntrinsicWithConstant() 2811 Cmp.setOperand(0, II->getArgOperand(0)); in foldICmpIntrinsicWithConstant() 2814 Cmp.setOperand(1, NewOp); in foldICmpIntrinsicWithConstant() 3608 I.setOperand(0, Op1); in foldICmpEquality() 4105 TI->setOperand(0, Mul); in processUMulZExtIdiom() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | OperandTraits.h | 114 inline void setOperand(unsigned, VALUECLASS*); \ 145 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
| H A D | GlobalIndirectSymbol.h | 48 setOperand(0, Symbol); in setIndirectSymbol()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Metadata.cpp | 510 setOperand(Op++, MD); in MDNode() 512 setOperand(Op++, MD); in MDNode() 692 setOperand(I, nullptr); in dropAllReferences() 705 setOperand(Op, New); in handleChangedOperand() 713 setOperand(Op, New); in handleChangedOperand() 738 setOperand(O, nullptr); in handleChangedOperand() 864 setOperand(I, New); in replaceOperandWith() 871 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1089 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
| H A D | User.cpp | 32 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 275 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 538 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 697 Op->setOperand(0, NewLHS); in RewriteExprTree() 703 Op->setOperand(1, NewRHS); in RewriteExprTree() 728 Op->setOperand(1, NewRHS); in RewriteExprTree() 764 Op->setOperand(0, NewOp); in RewriteExprTree() 828 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue() 829 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue() 934 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 954 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul() [all …]
|
| H A D | InferAddressSpaces.cpp | 891 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces() 962 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces() 963 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces() 971 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces() 972 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 626 Ext->setOperand(0, Current); in applyExts() 987 GEP->setOperand(I, NewIdx); in splitGEP() 1296 First->setOperand(1, Offset2); in swapGEPOperand() 1297 Second->setOperand(1, Offset1); in swapGEPOperand()
|
| H A D | ConstantHoisting.cpp | 711 Inst->setOperand(Idx, IncomingVal); in updateOperand() 717 Inst->setOperand(Idx, Mat); in updateOperand() 774 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants() 799 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
|
| H A D | DCE.cpp | 94 I->setOperand(i, nullptr); in DCEInstruction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | MemorySSA.h | 300 setOperand(0, DMA); 336 setOperand(0, DMA); 393 setOperand(1, MA); 407 setOperand(1, nullptr); 534 setOperand(I, V); 596 setOperand(E - 1, nullptr);
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 835 CI->setOperand(0, ConstantPointerNull::get(NewTy)); in handleAlloca() 838 CI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca() 858 SI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca() 861 SI->setOperand(2, ConstantPointerNull::get(NewTy)); in handleAlloca()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 484 DII->setOperand(0, MetadataAsValue::get(DII->getContext(), in replaceDbgUsesWithUndef() 545 I->setOperand(i, nullptr); in simplifyAndDCEInstruction() 1461 NewDbgII->setOperand(0, PhiMAV); in insertDebugValuesForPHIs() 1611 DII->setOperand(0, wrapMD(I.getOperand(0))); in salvageDebugInfo() 1612 DII->setOperand(2, MetadataAsValue::get(Ctx, DIExpr)); in salvageDebugInfo() 1635 DII->setOperand(0, CastSrc); in salvageDebugInfo() 1704 DII->setOperand(0, AddrMD); in salvageDebugInfo() 1705 DII->setOperand(2, MetadataAsValue::get(Ctx, DIExpr)); in salvageDebugInfo() 1760 DII->setOperand(0, wrapValueInMetadata(Ctx, &To)); in rewriteDebugUsers() 1761 DII->setOperand(2, MetadataAsValue::get(Ctx, *DVR)); in rewriteDebugUsers()
|
| H A D | SimplifyIndVar.cpp | 161 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser() 237 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant() 238 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 2207 Inst->setOperand(Idx, NewVal); in OperandSetter() 2215 Inst->setOperand(Idx, Origin); in undo() 2246 Inst->setOperand(It, OriginalValues[It]); in undo() 2394 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo() 2403 DVI->setOperand(0, MV); in undo() 3769 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther() 3828 TPT.setOperand(ExtForOpnd, 0, Opnd); in promoteOperandForOther() 3832 TPT.setOperand(ExtOpnd, OpIdx, ExtForOpnd); in promoteOperandForOther() 5642 NewAnd->setOperand(0, Load); in optimizeLoadExt() 6635 UGEPI->setOperand(0, GEPI); in tryUnmergingGEPsAcrossIndirectBr() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 114 U->setOperand(OpNo, V); in connectToSink()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanValue.h | 168 void setOperand(unsigned I, VPValue *New) { Operands[I] = New; } in setOperand() function
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCodeGenPrepare.cpp | 585 I->setOperand(i, NewConst); in PromoteTree() 587 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree() 679 I->setOperand(i, Trunc); in TruncateSinks()
|