/external/llvm/lib/IR/ |
IntrinsicInst.cpp | 57 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);
|
AutoUpgrade.cpp | 180 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), 186 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1), 201 Value *Arg0 = CI->getArgOperand(0); 202 Value *Arg1 = CI->getArgOperand(1); 258 Rep = Builder.CreateCall3(VPCOM, CI->getArgOperand(0), 259 CI->getArgOperand(1), Builder.getInt8(Imm)); 272 Value *Op0 = CI->getArgOperand(0); 273 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue() [all...] |
Verifier.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 84 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(1)); } 103 const_cast<Value*>(getArgOperand(1)))->getZExtValue(); 105 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(2)); } 120 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); } 122 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); } 124 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3))); 132 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4))); 170 return getArgOperand(3)->getType(); 194 Value *getValue() const { return const_cast<Value*>(getArgOperand(1)); } 217 Value *getRawSource() const { return const_cast<Value*>(getArgOperand(1)); [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 135 if (CI->getArgOperand(SizeCIOp) == CI->getArgOperand(SizeArgOp)) 138 dyn_cast<ConstantInt>(CI->getArgOperand(SizeCIOp))) { 142 uint64_t Len = GetStringLength(CI->getArgOperand(SizeArgOp)); 149 CI->getArgOperand(SizeArgOp))) 171 B.CreateMemCpy(CI->getArgOperand(0), CI->getArgOperand(1), 172 CI->getArgOperand(2), 1); 173 return CI->getArgOperand(0); 194 B.CreateMemMove(CI->getArgOperand(0), CI->getArgOperand(1) [all...] |
LowerExpectIntrinsic.cpp | 69 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);
|
BuildLibCalls.cpp | 491 B.CreateMemCpy(CI->getArgOperand(0), CI->getArgOperand(1), 492 CI->getArgOperand(2), 1); 493 replaceCall(CI->getArgOperand(0)); 514 B.CreateMemMove(CI->getArgOperand(0), CI->getArgOperand(1), 515 CI->getArgOperand(2), 1); 516 replaceCall(CI->getArgOperand(0)); 532 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), 534 B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 59 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), TD); 60 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), TD); 72 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); 87 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 89 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 101 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts(); 103 if (StrippedDest != MI->getArgOperand(0)) { 138 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy); 139 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy); 246 Type *Tys[3] = { CI.getArgOperand(0)->getType() [all...] |
InstCombineSimplifyDemanded.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 321 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(1) [all...] |
GCStrategy.cpp | 297 Value *St = new StoreInst(CI->getArgOperand(0), 298 CI->getArgOperand(2), CI); 306 Value *Ld = new LoadInst(CI->getArgOperand(1), "", CI); 317 CI->getArgOperand(0)->stripPointerCasts()));
|
ShadowStackGC.cpp | 210 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); 336 CI, cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); 337 if (IsNullValue(CI->getArgOperand(1)))
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 59 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1)); 60 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1)); 61 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100)); 63 EXPECT_EQ(Start1->getArgOperand(1), Var1); 64 EXPECT_NE(Start2->getArgOperand(1), Var2); 65 EXPECT_EQ(Start3->getArgOperand(1), Var3);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARC.h | 220 V = cast<CallInst>(V)->getArgOperand(0); 234 V = cast<CallInst>(V)->getArgOperand(0); 247 V = cast<CallInst>(V)->getArgOperand(0); 256 return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0)); 277 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
|
ObjCARCExpand.cpp | 114 Value *Value = cast<CallInst>(Inst)->getArgOperand(0);
|
ObjCARCAPElim.cpp | 106 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
|
ObjCARCContract.cpp | 432 if (isNullOrUndef(CI->getArgOperand(1))) { 436 new StoreInst(Null, CI->getArgOperand(0), CI); 464 const Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
|
ObjCARCOpts.cpp | 148 cast<CallInst>(Arg)->getArgOperand(0)); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
FunctionLoweringInfo.cpp | 388 Type* T = I.getArgOperand(i)->getType(); 405 const ConstantExpr *CE = cast<ConstantExpr>(I.getArgOperand(1)); 417 if (const ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(i))) { 425 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j))); 437 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j))); 449 TyInfo.push_back(ExtractTypeInfo(I.getArgOperand(j)));
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 711 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(0), Size [all...] |
MemoryDependenceAnalysis.cpp | 153 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)) 393 if (AA->isMustAlias(AliasAnalysis::Location(II->getArgOperand(1)), [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
MemorySanitizer.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 220 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))
|
/external/llvm/lib/Transforms/IPO/ |
StripSymbols.cpp | 306 Value *Arg1 = CI->getArgOperand(0); 307 Value *Arg2 = CI->getArgOperand(1);
|