Searched refs:castIsValid (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DInstructions.cpp2352 assert(castIsValid(op, S, Ty) && "Invalid cast!");
2374 assert(castIsValid(op, S, Ty) && "Invalid cast!");
2644 // logic in the castIsValid function below. This axiom should hold:
2645 // castIsValid( getCastOpcode(Val, Ty), Val, Ty)
2646 // should not assert in castIsValid. In other words, this produces a "correct"
2753 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { function in class:CastInst
2850 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc");
2856 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc");
2862 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt");
2868 assert(castIsValid(getOpcod
[all...]
H A DConstants.cpp1448 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!");
1673 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) &&
1684 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) &&
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h616 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/freebsd-9.3-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp2437 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy))
3743 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) {
3744 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy);

Completed in 122 milliseconds