Searched defs:castIsValid (Results 1 - 1 of 1) sorted by relevance
/external/llvm/lib/IR/ |
H A D | Instructions.cpp | 2299 assert(castIsValid(op, S, Ty) && "Invalid cast!"); 2321 assert(castIsValid(op, S, Ty) && "Invalid cast!"); 2626 // logic in the castIsValid function below. This axiom should hold: 2627 // castIsValid( getCastOpcode(Val, Ty), Val, Ty) 2628 // should not assert in castIsValid. In other words, this produces a "correct" 2735 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { function in class:CastInst 2853 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); 2859 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); 2865 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); 2871 assert(castIsValid(getOpcod [all...] |
Completed in 106 milliseconds