HomeSort by relevance Sort by last modified time
    Searched refs:getArgOperand (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/include/llvm/IR/
IntrinsicInst.h 92 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
95 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
115 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
125 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
128 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
143 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); }
147 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); }
152 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3)));
160 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4)));
197 return getArgOperand(3)->getType()
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
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 188 Value *BC = Builder.CreateBitCast(CI->getArgOperand(0),
213 Value *Arg0 = CI->getArgOperand(0);
214 Value *Arg1 = CI->getArgOperand(1);
229 Value *Val = Builder.CreateAtomicCmpXchg(CI->getArgOperand(0),
230 CI->getArgOperand(1),
231 CI->getArgOperand(2),
269 Value *Val = Builder.CreateAtomicRMW(Op, CI->getArgOperand(0),
270 CI->getArgOperand(1),
289 if (cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue())
291 else if (!cast<ConstantInt>(CI->getArgOperand(0))->getZExtValue()
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/Support/
IRBuilderTest.cpp 52 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1));
53 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1));
54 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100));
56 EXPECT_EQ(Start1->getArgOperand(1), Var1);
57 EXPECT_NE(Start2->getArgOperand(1), Var2);
58 EXPECT_EQ(Start3->getArgOperand(1), Var3);
  /external/llvm/lib/IR/
AutoUpgrade.cpp 603 Value *Op0 = CI.getArgOperand(0);
604 Value *Op1 = CI.getArgOperand(1);
611 Value *Op0 = CI.getArgOperand(0);
613 Value *Cmp = Builder.CreateICmp(Pred, Op0, CI.getArgOperand(1));
615 Value *Mask = CI.getArgOperand(2);
659 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1),
664 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1),
697 Value *Src = CI->getArgOperand(0)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/
IntrinsicInst.h 102 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
106 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
127 const_cast<Value*>(getArgOperand(1)))->getZExtValue();
139 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
143 return cast<MetadataAsValue>(getArgOperand(3))->getMetadata();
198 Value *getRawDest() const { return getArgOperand(0); }
199 Value *getRawSource() const { return getArgOperand(1); }
201 Value *getNumElements() const { return getArgOperand(2); }
208 Value *Arg = getArgOperand(3);
223 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0));
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 112 Value *Dst = CI->getArgOperand(0);
113 Value *Src = CI->getArgOperand(1);
151 Value *Dst = CI->getArgOperand(0);
152 Value *Src = CI->getArgOperand(1);
156 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)))
185 Value *SrcStr = CI->getArgOperand(0);
189 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
195 return emitMemChr(SrcStr, CI->getArgOperand(1), // include nul.
223 Value *SrcStr = CI->getArgOperand(0);
224 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineCalls.cpp 34 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), TD);
35 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), TD);
47 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2));
62 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
64 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
76 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts();
77 if (StrippedDest != MI->getArgOperand(0)) {
111 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy);
112 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy);
219 Type *Tys[3] = { CI.getArgOperand(0)->getType()
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARC.h 53 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
  /external/llvm/lib/CodeGen/
PreISelIntrinsicLowering.cpp 44 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1));
48 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32);
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...]
  /external/swiftshader/third_party/LLVM/include/llvm/
IntrinsicInst.h 86 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(1));
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 145 Value *Dst = CI->getArgOperand(0);
146 Value *Src = CI->getArgOperand(1);
196 Value *Dst = CI->getArgOperand(0);
197 Value *Src = CI->getArgOperand(1);
201 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)))
242 Value *SrcStr = CI->getArgOperand(0);
246 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
255 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul.
292 Value *SrcStr = CI->getArgOperand(0);
293 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1))
    [all...]
  /external/swiftshader/third_party/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);
466 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
469 Ops[0] = CI->getArgOperand(0);
470 Ops[1] = CI->getArgOperand(1)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp 82 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), DL, MI, AC, DT);
83 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), DL, MI, AC, DT);
94 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2));
109 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
111 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
123 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts();
125 if (StrippedDest != MI->getArgOperand(0)) {
159 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy);
160 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy);
268 auto Arg1 = II.getArgOperand(1)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LowerExpectIntrinsic.cpp 65 Value *ArgValue = CI->getArgOperand(0);
66 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
117 Value *ArgValue = CI->getArgOperand(0);
118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
162 Value *Exp = CI->getArgOperand(0);
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 55 Value *ArgValue = CI->getArgOperand(0);
56 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
102 Value *ArgValue = CI->getArgOperand(0);
103 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
149 Value *Exp = CI->getArgOperand(0);
BuildLibCalls.cpp 378 B.CreateMemCpy(CI->getArgOperand(0), CI->getArgOperand(1),
379 CI->getArgOperand(2), 1);
380 replaceCall(CI->getArgOperand(0));
401 B.CreateMemMove(CI->getArgOperand(0), CI->getArgOperand(1),
402 CI->getArgOperand(2), 1);
403 replaceCall(CI->getArgOperand(0));
419 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(),
421 B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1)
    [all...]

Completed in 1168 milliseconds

1 2 3 4 5 6 7 8 9