Searched defs:castIsValid (Results 1 - 1 of 1) sorted by relevance
/external/llvm/lib/IR/ |
H A D | Instructions.cpp | 2377 assert(castIsValid(op, S, Ty) && "Invalid cast!"); 2399 assert(castIsValid(op, S, Ty) && "Invalid cast!"); 2669 // logic in the castIsValid function below. This axiom should hold: 2670 // castIsValid( getCastOpcode(Val, Ty), Val, Ty) 2671 // should not assert in castIsValid. In other words, this produces a "correct" 2778 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { function in class:CastInst 2900 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); 2906 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); 2912 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); 2918 assert(castIsValid(getOpcod [all...] |
Completed in 136 milliseconds