HomeSort by relevance Sort by last modified time
    Searched defs:CI (Results 101 - 125 of 163) sorted by null

1 2 3 45 6 7

  /external/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp 243 if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) {
248 const APInt & Val = CI->getValue();
279 // Canonicalize (X+C1)*CI -> X*CI+C1*CI.
285 // Only go forward with the transform if C1*CI simplifies to a tidier
    [all...]
InstCombineVectorOps.cpp 56 if (CmpInst *CI = dyn_cast<CmpInst>(I))
57 if (CI->hasOneUse() &&
58 (cheapToScalarize(CI->getOperand(0), isConstant) ||
59 cheapToScalarize(CI->getOperand(1), isConstant)))
231 } else if (CastInst *CI = dyn_cast<CastInst>(I)) {
235 if (CI->hasOneUse() && (CI->getOpcode() != Instruction::BitCast)) {
236 Value *EE = Builder->CreateExtractElement(CI->getOperand(0),
239 return CastInst::Create(CI->getOpcode(), EE, EI.getType());
598 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(2))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp 317 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
318 if (CI->cannotDuplicate() || CI->isConvergent())
322 else if (!isa<IntrinsicInst>(CI))
324 else if (!CI->getType()->isVectorTy())
450 Constant *CI = LVI->getConstantOnEdge(InVal,
453 if (Constant *KC = getKnownConstant(CI, Preference))
529 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) {
537 Constant *Folded = ConstantExpr::get(BO->getOpcode(), V, CI);
639 if (ConstantInt *CI = dyn_cast<ConstantInt>(Cond))
    [all...]
LoopIdiomRecognize.cpp 285 // TODO: If CI is larger than 16-bytes, we can try slicing it in half to see
    [all...]
LoopRerollPass.cpp 670 ConstantInt *CI = nullptr;
681 CI = dyn_cast<ConstantInt>(BO->getOperand(1));
684 CI = dyn_cast<ConstantInt>(LastOperand);
687 if (!CI) {
697 int64_t V = std::abs(CI->getValue().getSExtValue());
    [all...]
SCCP.cpp 536 ConstantInt *CI = BCValue.getConstantInt();
537 if (!CI) {
546 Succs[CI->isZero()] = true;
562 ConstantInt *CI = SCValue.getConstantInt();
564 if (!CI) { // Overdefined or undefined condition?
571 Succs[SI->findCaseValue(CI).getSuccessorIndex()] = true;
608 ConstantInt *CI = BCValue.getConstantInt();
609 if (!CI)
613 return BI->getSuccessor(CI->isZero()) == To;
625 ConstantInt *CI = SCValue.getConstantInt()
    [all...]
  /external/llvm/lib/Transforms/Utils/
InlineFunction.cpp 58 bool llvm::InlineFunction(CallInst *CI, InlineFunctionInfo &IFI,
60 return InlineFunction(CallSite(CI), IFI, CalleeAAR, InsertLifetime);
194 CallInst *CI = dyn_cast<CallInst>(I);
196 if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue()))
202 BB->splitBasicBlock(CI->getIterator(), CI->getName() + ".noexc");
208 SmallVector<Value*, 8> InvokeArgs(CI->arg_begin(), CI->arg_end())
    [all...]
Local.cpp 119 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition());
133 if (i.getCaseValue() == CI) {
150 ConstantInt *CI =
152 assert(CI);
153 Weights.push_back(CI->getValue().getZExtValue());
178 if (CI && !TheOnlyDest) {
334 if (CallInst *CI = isFreeCall(I, TLI))
335 if (Constant *C = dyn_cast<Constant>(CI->getArgOperand(0)))
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp 85 bool expandBFI(CallInst *CI);
88 bool expandBFM(CallInst *CI);
92 bool isSigned24BitOps(CallInst *CI);
93 void expandSigned24BitOps(CallInst *CI);
97 bool isRWGLocalOpt(CallInst *CI);
101 bool convertAccurateDivide(CallInst *CI);
102 void expandAccurateDivide(CallInst *CI);
111 bool propagateSamplerInst(CallInst *CI);
242 CallInst *CI = isConstVec[x];
243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0))
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
BitcodeWriter.cpp     [all...]
  /frameworks/compile/slang/BitWriter_2_9_func/
BitcodeWriter.cpp     [all...]
  /frameworks/compile/slang/BitWriter_3_2/
BitcodeWriter.cpp     [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
String2Test.java 503 public void test_getCharsII$CI() {
    [all...]
StringBuilderTest.java 643 public void test_getCharsII$CI() {
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentHashMapTest.java 69 static class CI extends BI { CI(int value) { super(value); } }
127 assertTrue(m.put(new CI(i), true) == null);
130 assertTrue(m.containsKey(new CI(i)));
  /external/clang/lib/Frontend/
ASTUnit.cpp 881 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
883 CI.getPreprocessor().addPPCallbacks(
907 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
    [all...]
  /external/clang/lib/Lex/
PPDirectives.cpp     [all...]
  /external/llvm/include/llvm/IR/
IRBuilder.h     [all...]
PatternMatch.h 164 if (auto *CI = dyn_cast<ConstantInt>(V)) {
165 Res = &CI->getValue();
170 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) {
171 Res = &CI->getValue();
184 if (const auto *CI = dyn_cast<ConstantInt>(V)) {
185 const APInt &CIV = CI->getValue();
188 // If Val is negative, and CI is shorter than it, truncate to the right
206 if (const auto *CI = dyn_cast<ConstantInt>(V))
207 return this->isValue(CI->getValue());
210 if (const auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolutionExpander.cpp 57 if (CastInst *CI = dyn_cast<CastInst>(U))
58 if (CI->getOpcode() == Op) {
62 if (BasicBlock::iterator(CI) != IP || BIP == IP) {
67 Ret->takeName(CI);
68 CI->replaceAllUsesWith(Ret);
69 CI->setOperand(0, UndefValue::get(V->getType()));
72 Ret = CI;
127 if (CastInst *CI = dyn_cast<CastInst>(V)) {
128 if (CI->getOperand(0)->getType() == Ty)
129 return CI->getOperand(0)
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 211 if (const auto *CI = dyn_cast<ConstantInt>(V)) {
212 if (CI->getValue().getActiveBits() <= 64)
213 Reg = fastEmit_i(VT, VT, ISD::Constant, CI->getZExtValue());
404 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0)))
413 CI->getZExtValue(), VT.getSimpleVT());
428 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) {
429 uint64_t Imm = CI->getSExtValue();
519 if (const auto *CI = dyn_cast<ConstantInt>(Idx)) {
520 if (CI->isZero())
523 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue()
    [all...]
  /external/llvm/lib/IR/
Constants.cpp 93 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
94 return CI->isZero();
108 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
109 return CI->isMinusOne();
130 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
131 return CI->isOne();
152 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
153 return CI->isMinValue(/*isSigned=*/true);
174 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
175 return !CI->isMinValue(/*isSigned=*/true)
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonCommonGEP.cpp 190 ConstantInt *CI = dyn_cast<ConstantInt>(Idx);
191 assert(CI && "Struct type with non-constant index");
192 int64_t i = CI->getValue().getSExtValue();
224 if (ConstantInt *CI = dyn_cast<ConstantInt>(GN.Idx))
225 OS << CI->getValue().getSExtValue();
    [all...]
  /external/llvm/lib/Target/Mips/
MipsFastISel.cpp 119 bool emitCmp(unsigned DestReg, const CmpInst *CI);
299 const ConstantInt *CI = cast<ConstantInt>(C);
300 return materialize32BitInt(CI->getZExtValue(), RC);
446 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
448 TmpOffset += CI->getSExtValue() * S;
453 ConstantInt *CI =
455 TmpOffset += CI->getSExtValue() * S;
581 bool MipsFastISel::emitCmp(unsigned ResultReg, const CmpInst *CI) {
582 const Value *Left = CI->getOperand(0), *Right = CI->getOperand(1)
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp     [all...]

Completed in 1613 milliseconds

1 2 3 45 6 7