Searched defs:CI (Results 1 - 7 of 7) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSX86CallConvPass.cpp144 llvm::CallInst *CI = llvm::cast<llvm::CallInst>(CS.getInstruction()); local
146 auto NewCI = llvm::CallInst::Create(NewFn, Args, "", CI);
154 if (CI->isTailCall())
157 if (!CI->getType()->isVoidTy())
158 CI->replaceAllUsesWith(NewCI);
160 CI->eraseFromParent();
/frameworks/compile/slang/
H A Dslang_backend.cpp721 llvm::CallInst *CI = IB->CreateCall(F, Params); local
723 CI->setCallingConv(F->getCallingConv());
728 IB->CreateRet(CI);
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp1260 const CallInst &CI = cast<CallInst>(I); local
1261 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType());
1266 Vals.push_back(VE.getAttributeID(CI.getAttributes()));
1267 Vals.push_back((CI.getCallingConv() << 1) | unsigned(CI.isTailCall()));
1268 PushValueAndType(CI.getCalledValue(), InstID, Vals, VE); // Callee
1272 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); // fixed param.
1276 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands();
1278 PushValueAndType(CI.getArgOperand(i), InstID, Vals, VE); // varargs
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp1322 const CallInst &CI = cast<CallInst>(I); local
1323 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType());
1328 Vals.push_back(VE.getAttributeID(CI.getAttributes()));
1329 Vals.push_back((CI.getCallingConv() << 1) | unsigned(CI.isTailCall()));
1330 PushValueAndType(CI.getCalledValue(), InstID, Vals, VE); // Callee
1334 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); // fixed param.
1338 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands();
1340 PushValueAndType(CI.getArgOperand(i), InstID, Vals, VE); // varargs
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp79 CallInst *CI = cast<CallInst>(*Declare->use_begin()); local
80 CI->eraseFromParent();
3336 if (CallInst* CI = dyn_cast<CallInst>(*UI++))
3337 UpgradeIntrinsicCall(CI, I->second);
3390 if (CallInst* CI = dyn_cast<CallInst>(*UI++))
3391 UpgradeIntrinsicCall(CI, I->second);
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp1364 const CallInst &CI = cast<CallInst>(I); local
1365 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType());
1370 Vals.push_back(VE.getAttributeID(CI.getAttributes()));
1371 Vals.push_back((CI.getCallingConv() << 1) | unsigned(CI.isTailCall()));
1372 PushValueAndType(CI.getCalledValue(), InstID, Vals, VE); // Callee
1376 Vals.push_back(VE.getValueID(CI.getArgOperand(i))); // fixed param.
1380 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands();
1382 PushValueAndType(CI.getArgOperand(i), InstID, Vals, VE); // varargs
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp56 if (CallInst *CI = dyn_cast<CallInst>(I)) {
57 switch (CI->getCalledFunction()->getIntrinsicID()) {
61 Exn = CI;
65 Sel = CI;
91 if (const ConstantInt *CI = dyn_cast<ConstantInt>(EHSel->getArgOperand(i))){
92 unsigned FilterLength = CI->getZExtValue();
321 CallInst *CI = cast<CallInst>(*Declare->use_begin()); local
322 CI->eraseFromParent();
3671 if (CallInst* CI = dyn_cast<CallInst>(*UI++))
3672 UpgradeIntrinsicCall(CI,
[all...]

Completed in 421 milliseconds