Searched refs:CI1 (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1244 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { 1246 const APInt &C1V = CI1->getValue(); 1252 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1254 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1256 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1259 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1263 return UndefValue::get(CI1->getType()); // MIN_INT / -1 -> undef 1264 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1267 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1271 return UndefValue::get(CI1 [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 122 const ConstantInt* CI1 = cast<const ConstantInt>(C1.Low); local 124 return CI1->getValue().slt(CI2->getValue());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 233 Instruction::CastOps InstCombiner::isEliminableCastPair(const CastInst *CI1, argument 235 Type *SrcTy = CI1->getSrcTy(); 236 Type *MidTy = CI1->getDestTy(); 239 Instruction::CastOps firstOp = CI1->getOpcode();
|
H A D | InstCombineInternal.h | 613 /// \param CI1 The first of a pair of casts. 618 /// CI1->getSrcTy() to CI2->getDstTy(). 621 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
|
H A D | InstCombineCompares.cpp | 1249 /// I = icmp ugt (add (add A, B), CI2), CI1 1256 ConstantInt *CI2, ConstantInt *CI1, 1279 // Check to see that CI1 is an all-ones value with NewWidth bits. 1280 if (CI1->getBitWidth() == NewWidth || 1281 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) 1287 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; 1255 processUGT_ADDCST_ADD(ICmpInst &I, Value *A, Value *B, ConstantInt *CI2, ConstantInt *CI1, InstCombiner &IC) argument
|
Completed in 124 milliseconds