Searched refs:getArgOperand (Results 1 - 25 of 45) sorted by relevance

12

/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/
H A DIntrinsicInst.cpp57 if (MDNode* MD = cast_or_null<MDNode>(getArgOperand(0)))
68 return cast<MDNode>(getArgOperand(0))->getOperand(0);
72 return cast<MDNode>(getArgOperand(0))->getOperand(0);
H A DAutoUpgrade.cpp179 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1),
185 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1),
200 Value *Arg0 = CI->getArgOperand(0);
201 Value *Arg1 = CI->getArgOperand(1);
257 Rep = Builder.CreateCall3(VPCOM, CI->getArgOperand(0),
258 CI->getArgOperand(1), Builder.getInt8(Imm));
271 Value *Op0 = CI->getArgOperand(0);
272 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(
[all...]
H A DVerifier.cpp1838 if (MDNode *MD = dyn_cast<MDNode>(CI.getArgOperand(i)))
1846 Assert1(isa<ConstantInt>(CI.getArgOperand(1)),
1851 Assert1(CI.getArgOperand(0) && isa<MDNode>(CI.getArgOperand(0)),
1853 MDNode *MD = cast<MDNode>(CI.getArgOperand(0));
1860 Assert1(isa<ConstantInt>(CI.getArgOperand(3)),
1863 Assert1(isa<ConstantInt>(CI.getArgOperand(4)),
1872 dyn_cast<AllocaInst>(CI.getArgOperand(0)->stripPointerCasts());
1874 Assert1(isa<Constant>(CI.getArgOperand(1)),
1877 Assert1(!isa<ConstantPointerNull>(CI.getArgOperand(
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp54 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), TD);
55 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), TD);
67 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2));
82 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
84 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
96 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts();
98 if (StrippedDest != MI->getArgOperand(0)) {
130 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy);
131 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy);
238 Type *Tys[3] = { CI.getArgOperand(
[all...]
H A DInstCombineSimplifyDemanded.cpp774 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0),
777 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0),
1123 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(0), DemandedElts,
1126 TmpV = SimplifyDemandedVectorElts(II->getArgOperand(1), DemandedElts,
1140 Value *LHS = II->getArgOperand(0);
1141 Value *RHS = II->getArgOperand(1);
H A DInstructionCombining.cpp1205 ConstantInt *CI = cast<ConstantInt>(II->getArgOperand(1));
1228 Value *Op = FI.getArgOperand(0);
1400 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(1);
1410 if (ConstantInt *CI = dyn_cast<ConstantInt>(II->getArgOperand(1)))
1411 return new ICmpInst(ICmpInst::ICMP_UGT, II->getArgOperand(0),
1417 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(1);
1426 Value *LHS = II->getArgOperand(0), *RHS = II->getArgOperand(
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DSimplifyLibCalls.cpp150 Value *Dst = CI->getArgOperand(0);
151 Value *Src = CI->getArgOperand(1);
203 Value *Dst = CI->getArgOperand(0);
204 Value *Src = CI->getArgOperand(1);
208 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)))
248 Value *SrcStr = CI->getArgOperand(0);
252 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
261 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul.
297 Value *SrcStr = CI->getArgOperand(0);
298 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(
[all...]
H A DDeadStoreElimination.cpp220 return AliasAnalysis::Location(II->getArgOperand(0));
222 uint64_t Len = cast<ConstantInt>(II->getArgOperand(0))->getZExtValue();
223 return AliasAnalysis::Location(II->getArgOperand(1), Len);
309 return II->getArgOperand(0);
679 if (!AA->isMustAlias(F->getArgOperand(0), DepPointer))
H A DObjCARC.cpp450 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
475 V = cast<CallInst>(V)->getArgOperand(0);
489 V = cast<CallInst>(V)->getArgOperand(0);
502 V = cast<CallInst>(V)->getArgOperand(0);
511 return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0));
561 cast<CallInst>(Arg)->getArgOperand(0));
901 Inst->replaceAllUsesWith(cast<CallInst>(Inst)->getArgOperand(0));
987 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
2292 if (isNullOrUndef(CI->getArgOperand(0))) {
2294 Type *Ty = CI->getArgOperand(
[all...]
H A DTailRecursionElimination.cpp285 if (CI->getArgOperand(ArgNo) == Arg)
521 ArgumentPHIs[i]->addIncoming(CI->getArgOperand(i), BB);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DIntrinsicInst.h86 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(1)); }
106 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
108 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(2)); }
124 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); }
126 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); }
128 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3)));
136 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4)));
174 return getArgOperand(3)->getType();
199 Value *getValue() const { return const_cast<Value*>(getArgOperand(1)); }
223 Value *getRawSource() const { return const_cast<Value*>(getArgOperand(
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/unittests/VMCore/
H A DIRBuilderTest.cpp56 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1));
57 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1));
58 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100));
60 EXPECT_EQ(Start1->getArgOperand(1), Var1);
61 EXPECT_NE(Start2->getArgOperand(1), Var2);
62 EXPECT_EQ(Start3->getArgOperand(1), Var3);
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DIntrinsicLowering.cpp321 switch (CI->getArgOperand(0)->getType()->getTypeID()) {
335 CI->getArgOperand(0)->getType());
358 Value *V = CI->getArgOperand(0);
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI));
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI));
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI));
405 Value *Src = CI->getArgOperand(0);
461 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
464 Ops[0] = CI->getArgOperand(0);
465 Ops[1] = CI->getArgOperand(
[all...]
H A DGCStrategy.cpp296 Value *St = new StoreInst(CI->getArgOperand(0),
297 CI->getArgOperand(2), CI);
305 Value *Ld = new LoadInst(CI->getArgOperand(1), "", CI);
316 CI->getArgOperand(0)->stripPointerCasts()));
H A DShadowStackGC.cpp210 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
336 CI, cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
337 if (IsNullValue(CI->getArgOperand(1)))
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/
H A DLowerExpectIntrinsic.cpp69 Value *ArgValue = CI->getArgOperand(0);
70 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
113 Value *ArgValue = CI->getArgOperand(0);
114 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
157 Value *Exp = CI->getArgOperand(0);
H A DBuildLibCalls.cpp461 B.CreateMemCpy(CI->getArgOperand(0), CI->getArgOperand(1),
462 CI->getArgOperand(2), 1);
463 replaceCall(CI->getArgOperand(0));
484 B.CreateMemMove(CI->getArgOperand(0), CI->getArgOperand(1),
485 CI->getArgOperand(2), 1);
486 replaceCall(CI->getArgOperand(0));
502 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(),
504 B.CreateMemSet(CI->getArgOperand(
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3595 SDValue Op = getValue(I.getArgOperand(i));
3697 if (getValue(I.getArgOperand(0)).getValueType() == MVT::f32 &&
3699 SDValue Op = getValue(I.getArgOperand(0));
3809 getValue(I.getArgOperand(0)).getValueType(),
3810 getValue(I.getArgOperand(0)));
3823 if (getValue(I.getArgOperand(0)).getValueType() == MVT::f32 &&
3825 SDValue Op = getValue(I.getArgOperand(0));
3919 getValue(I.getArgOperand(0)).getValueType(),
3920 getValue(I.getArgOperand(0)));
3933 if (getValue(I.getArgOperand(
[all...]
H A DFunctionLoweringInfo.cpp389 Type* T = I.getArgOperand(i)->getType();
406 const ConstantExpr *CE = cast<ConstantExpr>(I.getArgOperand(1));
418 if (const ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(i))) {
426 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j)));
438 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j)));
450 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j)));
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DBasicAliasAnalysis.cpp711 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2)))
713 Value *Dest = II->getArgOperand(0);
714 Value *Src = II->getArgOperand(1);
730 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2))) {
732 Value *Dest = II->getArgOperand(0);
743 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue();
744 if (isNoAlias(Location(II->getArgOperand(1),
753 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue();
754 if (isNoAlias(Location(II->getArgOperand(2),
766 if (isNoAlias(Location(II->getArgOperand(
[all...]
H A DValueTracking.cpp730 if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
756 ComputeMaskedBitsAddSub(true, II->getArgOperand(0),
757 II->getArgOperand(1), false, KnownZero,
762 ComputeMaskedBitsAddSub(false, II->getArgOperand(0),
763 II->getArgOperand(1), false, KnownZero,
768 ComputeMaskedBitsMul(II->getArgOperand(0), II->getArgOperand(1),
1322 return CannotBeNegativeZero(II->getArgOperand(0), Depth+1);
1335 return CannotBeNegativeZero(CI->getArgOperand(0), Depth+1);
H A DMemoryDependenceAnalysis.cpp153 Loc = AliasAnalysis::Location(CI->getArgOperand(0));
162 Loc = AliasAnalysis::Location(II->getArgOperand(1),
163 cast<ConstantInt>(II->getArgOperand(0))
170 Loc = AliasAnalysis::Location(II->getArgOperand(2),
171 cast<ConstantInt>(II->getArgOperand(1))
379 if (AA->isMustAlias(AliasAnalysis::Location(II->getArgOperand(1)),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DStripSymbols.cpp306 Value *Arg1 = CI->getArgOperand(0);
307 Value *Arg2 = CI->getArgOperand(1);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/IPA/
H A DGlobalsModRef.cpp272 if (CI->getArgOperand(i) == V) return true;
277 if (II->getArgOperand(i) == V) return true;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp346 V = IS->getArgOperand(0)->stripPointerCasts();
379 V = IS->getArgOperand(0)->stripPointerCasts();

Completed in 202 milliseconds

12