Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
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()
DNVPTXLowerArgs.cpp202 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DOperandTraits.h111 inline void setOperand(unsigned, VALUECLASS*); \
142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperandTraits.h113 inline void setOperand(unsigned, VALUECLASS*); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
DGlobalIndirectSymbol.h51 setOperand(0, Symbol); in setIndirectSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp110 Sel.setOperand(IsEq ? 1 : 2, Y); in foldSelectBinOpIdentity()
979 Cmp.setOperand(0, CmpLHS); in adjustMinMax()
980 Cmp.setOperand(1, CmpRHS); in adjustMinMax()
981 Sel.setOperand(1, TrueVal); in adjustMinMax()
982 Sel.setOperand(2, FalseVal); in adjustMinMax()
1084 Cmp.setOperand(1, ConstantInt::getNullValue(Cmp.getOperand(0)->getType())); in canonicalizeAbsNabs()
1086 Cmp.setOperand(0, LHS); in canonicalizeAbsNabs()
1429 SI.setOperand(1, CmpRHS); in foldSelectInstWithICmp()
1433 SI.setOperand(2, CmpRHS); in foldSelectInstWithICmp()
2368 SI.setOperand(1, FalseVal); in visitSelectInst()
[all …]
DInstCombineAtomicRMW.cpp141 RMWI.setOperand(1, ConstantInt::get(RMWI.getType(), 0)); in visitAtomicRMWInst()
146 RMWI.setOperand(1, ConstantFP::getNegativeZero(RMWI.getType())); in visitAtomicRMWInst()
DInstructionCombining.cpp303 Cast->setOperand(0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc()
304 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc()
353 I.setOperand(0, A); in SimplifyAssociativeOrCommutative()
354 I.setOperand(1, V); in SimplifyAssociativeOrCommutative()
386 I.setOperand(0, V); in SimplifyAssociativeOrCommutative()
387 I.setOperand(1, C); in SimplifyAssociativeOrCommutative()
414 I.setOperand(0, V); in SimplifyAssociativeOrCommutative()
415 I.setOperand(1, B); in SimplifyAssociativeOrCommutative()
434 I.setOperand(0, B); in SimplifyAssociativeOrCommutative()
435 I.setOperand(1, V); in SimplifyAssociativeOrCommutative()
[all …]
DInstCombineMulDivRem.cpp75 I->setOperand(0, V2); in simplifyValueKnownNonZero()
595 I.setOperand(1, SI->getOperand(NonNullOperand)); in simplifyDivRemOfSelectWithZeroOp()
687 I.setOperand(1, V); in commonIDivTransforms()
803 I.setOperand(0, ConstantInt::get(Ty, 1)); in commonIDivTransforms()
804 I.setOperand(1, Y); in commonIDivTransforms()
1280 I.setOperand(0, X); in visitFDiv()
1281 I.setOperand(1, Y); in visitFDiv()
1290 I.setOperand(0, ConstantFP::get(I.getType(), 1.0)); in visitFDiv()
1291 I.setOperand(1, Y); in visitFDiv()
1318 I.setOperand(1, V); in commonIRemTransforms()
[all …]
DInstCombineLoadStoreAlloca.cpp191 AI.setOperand(0, V); in simplifyAllocaArraySize()
233 AI.setOperand(0, V); in simplifyAllocaArraySize()
359 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst()
923 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero()
926 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
1056 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst()
1064 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst()
1480 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
DInstCombineShifts.cpp411 I.setOperand(1, Rem); in commonShiftTransforms()
562 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt)); in foldShiftedShift()
636 I->setOperand( in getShiftedValue()
638 I->setOperand( in getShiftedValue()
648 I->setOperand( in getShiftedValue()
650 I->setOperand( in getShiftedValue()
DInstCombineCompares.cpp1579 Cmp.setOperand(0, X); in foldICmpXorConstant()
1686 Cmp.setOperand(1, ConstantInt::get(And->getType(), NewCst)); in foldICmpAndShift()
1688 And->setOperand(1, ConstantInt::get(And->getType(), NewAndCst)); in foldICmpAndShift()
1689 And->setOperand(0, Shift->getOperand(0)); in foldICmpAndShift()
1708 Cmp.setOperand(0, NewAnd); in foldICmpAndShift()
1815 Cmp.setOperand(0, NewAnd); in foldICmpAndConstConst()
3032 Cmp.setOperand(0, II->getArgOperand(0)); in foldICmpEqIntrinsicWithConstant()
3033 Cmp.setOperand(1, ConstantInt::get(Ty, C.byteSwap())); in foldICmpEqIntrinsicWithConstant()
3041 Cmp.setOperand(0, II->getArgOperand(0)); in foldICmpEqIntrinsicWithConstant()
3042 Cmp.setOperand(1, ConstantInt::getNullValue(Ty)); in foldICmpEqIntrinsicWithConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp511 setOperand(Op++, MD); in MDNode()
513 setOperand(Op++, MD); in MDNode()
693 setOperand(I, nullptr); in dropAllReferences()
706 setOperand(Op, New); in handleChangedOperand()
714 setOperand(Op, New); in handleChangedOperand()
739 setOperand(O, nullptr); in handleChangedOperand()
865 setOperand(I, New); in replaceOperandWith()
872 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1090 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp279 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
544 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree()
703 Op->setOperand(0, NewLHS); in RewriteExprTree()
709 Op->setOperand(1, NewRHS); in RewriteExprTree()
734 Op->setOperand(1, NewRHS); in RewriteExprTree()
770 Op->setOperand(0, NewOp); in RewriteExprTree()
834 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
835 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
962 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
963 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
[all …]
DInferAddressSpaces.cpp896 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
967 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
968 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
976 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
977 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
DSeparateConstOffsetFromGEP.cpp626 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()
DConstantHoisting.cpp723 Inst->setOperand(Idx, IncomingVal); in updateOperand()
729 Inst->setOperand(Idx, Mat); in updateOperand()
786 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
811 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
DDCE.cpp135 I->setOperand(i, nullptr); in DCEInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSA.h303 setOperand(0, DMA);
339 setOperand(0, DMA);
396 setOperand(1, MA);
410 setOperand(1, nullptr);
537 setOperand(I, V);
599 setOperand(E - 1, nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp840 CI->setOperand(0, ConstantPointerNull::get(NewTy)); in handleAlloca()
843 CI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
863 SI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
866 SI->setOperand(2, ConstantPointerNull::get(NewTy)); in handleAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2466 Inst->setOperand(Idx, NewVal); in OperandSetter()
2474 Inst->setOperand(Idx, Origin); in undo()
2497 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider()
2505 Inst->setOperand(It, OriginalValues[It]); in undo()
2653 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo()
2662 DVI->setOperand(0, MV); in undo()
2736 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal);
2771 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in TypePromotionTransaction
3988 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt()
4040 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther()
[all …]
DTypePromotion.cpp538 I->setOperand(i, NewConst); in PromoteTree()
540 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree()
605 I->setOperand(i, Trunc); in TruncateSinks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp114 U->setOperand(OpNo, V); in connectToSink()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanValue.h167 void setOperand(unsigned I, VPValue *New) { Operands[I] = New; } in setOperand() function
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DMf2Serializer.java431 result.setOperand(Value.builder() in parseExpression()
436 result.setOperand(Value.builder() in parseExpression()

12345