Home
last modified time | relevance | path

Searched refs:CI1 (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1244 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { in ConstantFoldBinaryInstruction() local
1246 const APInt &C1V = CI1->getValue(); in ConstantFoldBinaryInstruction()
1252 return ConstantInt::get(CI1->getContext(), C1V + C2V); in ConstantFoldBinaryInstruction()
1254 return ConstantInt::get(CI1->getContext(), C1V - C2V); in ConstantFoldBinaryInstruction()
1256 return ConstantInt::get(CI1->getContext(), C1V * C2V); in ConstantFoldBinaryInstruction()
1259 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); in ConstantFoldBinaryInstruction()
1263 return UndefValue::get(CI1->getType()); // MIN_INT / -1 -> undef in ConstantFoldBinaryInstruction()
1264 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); in ConstantFoldBinaryInstruction()
1267 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); in ConstantFoldBinaryInstruction()
1271 return UndefValue::get(CI1->getType()); // MIN_INT % -1 -> undef in ConstantFoldBinaryInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp122 const ConstantInt* CI1 = cast<const ConstantInt>(C1.Low); in operator ()() local
124 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp233 Instruction::CastOps InstCombiner::isEliminableCastPair(const CastInst *CI1, in isEliminableCastPair() argument
235 Type *SrcTy = CI1->getSrcTy(); in isEliminableCastPair()
236 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair()
239 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair()
DInstCombineInternal.h621 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
DInstCombineCompares.cpp1256 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument
1280 if (CI1->getBitWidth() == NewWidth || in processUGT_ADDCST_ADD()
1281 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD()
1287 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in processUGT_ADDCST_ADD()