Home | History | Annotate | Download | only in IR

Lines Matching refs:Function

20 #include "llvm/IR/Function.h"
276 "Calling a function with bad signature!");
281 "Calling a function with a bad signature!");
296 assert(FTy->getNumParams() == 0 && "Calling a function with bad signature");
352 if (const Function *F = getCalledFunction())
360 if (const Function *F = getCalledFunction())
374 Value *ArraySize, Function *MallocF,
441 if (Function *F = dyn_cast<Function>(MallocFunc)) {
459 Function * MallocF,
471 /// Note: This function does not add the bitcast to the basic block, that is the
476 Function *MallocF, const Twine &Name) {
507 if (Function *F = dyn_cast<Function>(FreeFunc))
513 /// CreateFree - Generate the IR for a call to the builtin free function.
518 /// CreateFree - Generate the IR for a call to the builtin free function.
519 /// Note: This function does not add the call to the basic block, that is the
544 "Invoking a function with bad signature");
549 "Invoking a function with a bad signature!");
580 if (const Function *F = getCalledFunction())
588 if (const Function *F = getCalledFunction())
911 /// function and is a constant size. If so, the code generator will fold it
1919 // isConstantAllOnes - Helper function for several functions below
2075 /// This function determines if the CastInst does not require any bits to be
2115 /// This function determines if a pair of casts can be eliminated and what
2120 /// The function returns a resultOpcode so these two casts can be replaced with:
2122 /// If no such cast is permited, the function returns 0.
2522 // logic in the castIsValid function below. This axiom should hold: