/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 93 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata(); 96 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); 116 const_cast<Value*>(getArgOperand(1)))->getZExtValue(); 126 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); 129 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata(); 145 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); } 149 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); } 154 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3))); 162 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4))); 200 return getArgOperand(3)->getType() [all...] |
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 379 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), 385 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1), 401 Value *Arg0 = CI->getArgOperand(0); 402 Value *Arg1 = CI->getArgOperand(1); 459 Builder.CreateCall(VPCOM, {CI->getArgOperand(0), CI->getArgOperand(1), 462 Value *Arg0 = CI->getArgOperand(0); 463 Value *Arg1 = CI->getArgOperand(1) [all...] |
IntrinsicInst.cpp | 67 if (!getArgOperand(0)) 70 return getValueImpl(getArgOperand(0)); 81 Value *DbgValueInst::getValue() { return getValueImpl(getArgOperand(0)); }
|
Verifier.cpp | [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARC.h | 54 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
|
ObjCARCExpand.cpp | 114 Value *Value = cast<CallInst>(Inst)->getArgOperand(0);
|
ObjCARCAPElim.cpp | 104 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
|
ObjCARCOpts.cpp | 64 cast<CallInst>(Arg)->getArgOperand(0)); 717 if (IsNullOrUndef(CI->getArgOperand(0))) { 719 Type *Ty = CI->getArgOperand(0)->getType(); 735 if (IsNullOrUndef(CI->getArgOperand(0)) || 736 IsNullOrUndef(CI->getArgOperand(1))) { 738 Type *Ty = CI->getArgOperand(0)->getType(); 765 const Value *Arg = Call->getArgOperand(0); 775 CallInst *NewCall = CallInst::Create(Decl, Call->getArgOperand(0), "", [all...] |
/external/llvm/lib/Target/AMDGPU/ |
R600TextureIntrinsicsReplacer.cpp | 160 Value *Coord = I.getArgOperand(0); 161 Value *ResourceId = I.getArgOperand(1); 162 Value *SamplerId = I.getArgOperand(2); 165 cast<ConstantInt>(I.getArgOperand(3))->getZExtValue(); 184 Value *Coord = I.getArgOperand(0); 185 Value *ResourceId = I.getArgOperand(4); 186 Value *SamplerId = I.getArgOperand(5); 189 cast<ConstantInt>(I.getArgOperand(6))->getZExtValue(); 194 I.getArgOperand(1), 195 I.getArgOperand(2) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 64 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), DL, MI, AC, DT); 65 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), DL, MI, AC, DT); 76 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); 91 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 93 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 105 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts(); 107 if (StrippedDest != MI->getArgOperand(0)) { 141 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy); 142 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy); 250 auto Arg1 = II.getArgOperand(1) [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 205 Value *Dst = CI->getArgOperand(0); 206 Value *Src = CI->getArgOperand(1); 253 Value *Dst = CI->getArgOperand(0); 254 Value *Src = CI->getArgOperand(1); 258 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) 293 Value *SrcStr = CI->getArgOperand(0); 297 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 303 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul. 338 Value *SrcStr = CI->getArgOperand(0); 339 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1)) [all...] |
GlobalStatus.cpp | 148 if (MTI->getArgOperand(0) == V) 150 if (MTI->getArgOperand(1) == V) 153 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
|
/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); 475 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, 478 Ops[0] = CI->getArgOperand(0); 479 Ops[1] = CI->getArgOperand(1) [all...] |
GCRootLowering.cpp | 218 new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), CI); 226 Value *Ld = new LoadInst(CI->getArgOperand(1), "", CI); 237 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
|
ShadowStackGCLowering.cpp | 203 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); 337 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); 338 if (IsNullValue(CI->getArgOperand(1)))
|
/external/llvm/lib/Transforms/Scalar/ |
LowerExpectIntrinsic.cpp | 53 Value *ArgValue = CI->getArgOperand(0); 54 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 105 Value *ArgValue = CI->getArgOperand(0); 106 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 150 Value *Exp = CI->getArgOperand(0);
|
/external/llvm/lib/Analysis/ |
MemoryLocation.cpp | 129 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2))) 138 Arg, cast<ConstantInt>(II->getArgOperand(0))->getZExtValue(), AATags); 143 Arg, cast<ConstantInt>(II->getArgOperand(1))->getZExtValue(), AATags); 154 Arg, DL.getTypeStoreSize(II->getArgOperand(1)->getType()), AATags);
|
VectorUtils.cpp | 93 !I.getArgOperand(0)->getType()->isFloatingPointTy() || 94 I.getType() != I.getArgOperand(0)->getType() || !I.onlyReadsMemory()) 112 !I.getArgOperand(0)->getType()->isFloatingPointTy() || 113 !I.getArgOperand(1)->getType()->isFloatingPointTy() || 114 I.getType() != I.getArgOperand(0)->getType() || 115 I.getType() != I.getArgOperand(1)->getType() || !I.onlyReadsMemory())
|
AssumptionCache.cpp | 86 OS << " " << *cast<CallInst>(VH)->getArgOperand(0) << "\n";
|
/external/llvm/include/llvm/Analysis/ |
ObjCARCAnalysisUtils.h | 82 V = cast<CallInst>(V)->getArgOperand(0); 108 V = cast<CallInst>(V)->getArgOperand(0); 125 return GetRCIdentityRoot(cast<CallInst>(Inst)->getArgOperand(0));
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyOptimizeReturned.cpp | 59 Value *Arg = CS.getArgOperand(i);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 62 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1)); 63 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1)); 64 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100)); 66 EXPECT_EQ(Start1->getArgOperand(1), Var1); 67 EXPECT_NE(Start2->getArgOperand(1), Var2); 68 EXPECT_EQ(Start3->getArgOperand(1), Var3);
|
/external/llvm/lib/Target/NVPTX/ |
NVVMReflect.cpp | 169 const Value *Str = Reflect->getArgOperand(0); 173 Str = ConvCall->getArgOperand(0);
|
/external/llvm/lib/Transforms/Instrumentation/ |
MemorySanitizer.cpp | [all...] |